Skip to content

Commit 32d8d95

Browse files
committed
Update
1 parent 3fd8e96 commit 32d8d95

2 files changed

Lines changed: 14 additions & 15 deletions

File tree

app/src/main/res/layout/kr_action_list_item.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,16 @@
3535
android:layout_height="30dp"
3636
android:layout_alignParentEnd="true"
3737
android:layout_centerVertical="true"
38-
android:layout_marginTop="16dp"
39-
android:layout_marginEnd="19.5dp"
38+
android:layout_marginTop="22dp"
39+
android:layout_marginEnd="16dp"
4040
android:layout_marginBottom="10dp"
4141
android:alpha="0.9"
42-
android:padding="5dp"
4342
app:tint="?android:colorAccent" />
4443

4544
<LinearLayout
4645
android:orientation="horizontal"
47-
android:layout_marginStart="10dp"
48-
android:layout_marginTop="10dp"
46+
android:layout_marginStart="6dp"
47+
android:layout_marginTop="14dp"
4948
android:layout_marginBottom="10dp"
5049
android:layout_alignParentStart="true"
5150
android:layout_centerVertical="true"
@@ -69,8 +68,7 @@
6968

7069
<TextView
7170
android:id="@id/kr_title"
72-
android:ellipsize="end"
73-
android:layout_width="match_parent"
71+
android:layout_width="wrap_content"
7472
android:layout_height="wrap_content"
7573
style="@style/textTitle" />
7674

app/src/main/res/layout/kr_switch_list_item.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@
3535
android:layout_height="wrap_content"
3636
android:layout_alignParentEnd="true"
3737
android:layout_centerVertical="true"
38-
android:layout_marginTop="18dp"
39-
android:layout_marginEnd="8dp"
38+
android:layout_marginTop="24dp"
39+
android:layout_marginEnd="16dp"
4040
android:layout_marginBottom="10dp"
4141
android:textOff=""
4242
android:textOn=""
4343
android:switchTextAppearance="@null"
4444
android:track="@drawable/kr_switch_track"
4545
android:thumb="@drawable/kr_switch_thumb"
46-
android:padding="5dp"
4746
android:layout_gravity="center_vertical"
4847
android:clickable="false"
4948
android:elevation="5dp"
@@ -52,8 +51,8 @@
5251

5352
<LinearLayout
5453
android:orientation="horizontal"
55-
android:layout_marginStart="10dp"
56-
android:layout_marginTop="10dp"
54+
android:layout_marginStart="6dp"
55+
android:layout_marginTop="14dp"
5756
android:layout_marginBottom="10dp"
5857
android:layout_alignParentStart="true"
5958
android:layout_centerVertical="true"
@@ -77,8 +76,7 @@
7776

7877
<TextView
7978
android:id="@id/kr_title"
80-
android:ellipsize="end"
81-
android:layout_width="match_parent"
79+
android:layout_width="wrap_content"
8280
android:layout_height="wrap_content"
8381
style="@style/textTitle" />
8482

@@ -98,6 +96,7 @@
9896
android:textColor="?android:colorAccent"
9997
style="@style/textSmall"
10098
android:visibility="gone" />
99+
101100
</LinearLayout>
102101
</LinearLayout>
103102
</RelativeLayout>
@@ -106,7 +105,9 @@
106105
android:layout_below="@id/kr_layout_ac"
107106
android:layout_width="match_parent"
108107
android:layout_height="wrap_content"
109-
android:padding="16dp"
108+
android:layout_marginBottom="16dp"
109+
android:layout_marginStart="16dp"
110+
android:layout_marginEnd="16dp"
110111
android:adjustViewBounds="true"
111112
android:scaleType="fitCenter"
112113
android:visibility="gone" />

0 commit comments

Comments
 (0)