| 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..12b053bb3e9973e67796bfe300af4f5e5423a813 |
| --- /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="1px" |
|
diegocarloslima
2016/11/08 16:30:39
It's usually recommended to use 0dp here when layo
anton
2016/11/09 12:30:29
The reason was Android Studio was reporting that t
|
| + 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> |