|
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | 4 | android:layout_width="match_parent" |
5 | 5 | android:layout_height="wrap_content" |
6 | | - android:background="@drawable/krscript_item_ripple_ac" |
| 6 | + android:foreground="@drawable/krscript_item_ripple_ac" |
7 | 7 | android:minHeight="?android:attr/listPreferredItemHeight"> |
8 | 8 |
|
9 | 9 | <ImageView |
|
30 | 30 | android:layout_marginTop="10dp" |
31 | 31 | android:layout_marginBottom="10dp" |
32 | 32 | android:layout_alignParentStart="true" |
| 33 | + android:layout_centerVertical="true" |
| 34 | + android:gravity="center_vertical" |
33 | 35 | android:layout_toStartOf="@id/kr_switch" |
34 | 36 | android:layout_width="wrap_content" |
35 | 37 | android:layout_height="wrap_content"> |
36 | 38 | <ImageView |
37 | 39 | android:padding="0dp" |
38 | 40 | android:id="@id/kr_icon" |
39 | 41 | android:layout_marginStart="5dp" |
40 | | - android:layout_marginTop="5dp" |
| 42 | + android:layout_gravity="center_vertical" |
41 | 43 | android:layout_width="35dp" |
42 | 44 | android:layout_height="35dp" /> |
43 | 45 |
|
|
69 | 71 | android:textColor="?android:colorAccent" |
70 | 72 | style="@style/textSmall" |
71 | 73 | android:visibility="gone" /> |
72 | | - |
73 | 74 | </LinearLayout> |
74 | 75 | </LinearLayout> |
75 | 76 |
|
|
78 | 79 | android:layout_width="wrap_content" |
79 | 80 | android:layout_height="wrap_content" |
80 | 81 | android:layout_alignParentEnd="true" |
81 | | - android:layout_centerVertical="false" |
| 82 | + android:layout_centerVertical="true" |
82 | 83 | android:layout_marginTop="18dp" |
83 | 84 | android:layout_marginEnd="8dp" |
84 | 85 | android:layout_marginBottom="10dp" |
|
0 commit comments