Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android-settings/res/layout/fragment_adblock_whitelisted_domain_item.xml

Issue 29361445: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: fixed 2 more members in AdblockEngine Created Dec. 16, 2016, 8:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libadblockplus-android-settings/res/layout/fragment_adblock_whitelisted_domain_item.xml
diff --git a/libadblockplus-android-settings/res/layout/fragment_adblock_whitelisted_domain_item.xml b/libadblockplus-android-settings/res/layout/fragment_adblock_whitelisted_domain_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..bf5a5184dc583239508ec12e26098eae2f854f07
--- /dev/null
+++ b/libadblockplus-android-settings/res/layout/fragment_adblock_whitelisted_domain_item.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingTop="@dimen/fragment_adblock_wl_item_padding"
+ android:paddingBottom="@dimen/fragment_adblock_wl_item_padding">
+
+ <!-- Domain -->
+ <TextView
+ android:id="@+id/fragment_adblock_wl_item_title"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:paddingLeft="0dp"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ tools:text="http://www.google.com"/>
+
+ <!-- Remove button -->
+ <ImageView
+ android:id="@+id/fragment_adblock_wl_item_remove"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/fragment_adblock_whitelisted_domains_remove"
+ android:paddingLeft="@dimen/fragment_adblock_wl_padding" />
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld