Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <LinearLayout | |
3 xmlns:android="http://schemas.android.com/apk/res/android" | |
4 xmlns:tools="http://schemas.android.com/tools" | |
5 android:layout_width="match_parent" | |
6 android:layout_height="match_parent" | |
7 android:gravity="center_vertical" | |
8 android:orientation="horizontal" | |
9 android:paddingTop="@dimen/fragment_adblock_wl_item_padding" | |
10 android:paddingBottom="@dimen/fragment_adblock_wl_item_padding"> | |
11 | |
12 <!-- Domain --> | |
13 <TextView | |
14 android:id="@+id/fragment_adblock_wl_item_title" | |
15 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
| |
16 android:layout_weight="1" | |
17 android:layout_height="wrap_content" | |
18 android:paddingLeft="0dp" | |
19 android:textAppearance="?android:attr/textAppearanceMedium" | |
20 tools:text="http://www.google.com"/> | |
21 | |
22 <!-- Remove button --> | |
23 <ImageView | |
24 android:id="@+id/fragment_adblock_wl_item_remove" | |
25 android:layout_width="wrap_content" | |
26 android:layout_height="wrap_content" | |
27 android:src="@drawable/fragment_adblock_whitelisted_domains_remove" | |
28 android:paddingLeft="@dimen/fragment_adblock_wl_padding" /> | |
29 | |
30 </LinearLayout> | |
OLD | NEW |