|
44 | 44 | android:layout_width="wrap_content"
|
45 | 45 | android:layout_height="wrap_content"
|
46 | 46 | android:layout_marginTop="@dimen/layout_margin_spacing"
|
47 |
| - android:lines="1" |
| 47 | + android:lines="2" |
48 | 48 | android:textAppearance="@style/TextAppearance.AppCompat.Small" />
|
49 | 49 |
|
50 |
| - <LinearLayout |
51 |
| - android:layout_width="wrap_content" |
52 |
| - android:layout_height="wrap_content" |
53 |
| - android:layout_marginTop="@dimen/layout_margin_spacing" |
54 |
| - android:orientation="horizontal"> |
55 |
| - |
56 |
| - <androidx.appcompat.widget.SwitchCompat |
57 |
| - android:id="@+id/chk_enable" |
58 |
| - android:layout_width="wrap_content" |
59 |
| - android:layout_height="wrap_content" |
60 |
| - android:text="@string/sub_setting_enable" |
61 |
| - app:theme="@style/BrandedSwitch" /> |
62 |
| - </LinearLayout> |
63 |
| - |
64 | 50 | </LinearLayout>
|
65 | 51 |
|
66 |
| - |
67 | 52 | <LinearLayout
|
68 | 53 | android:layout_width="wrap_content"
|
69 | 54 | android:layout_height="@dimen/sub_height"
|
70 | 55 | android:gravity="center"
|
71 |
| - android:orientation="horizontal"> |
| 56 | + android:orientation="vertical" |
| 57 | + android:paddingStart="@dimen/padding_start" |
| 58 | + android:paddingEnd="@dimen/padding_end"> |
72 | 59 |
|
73 | 60 | <LinearLayout
|
74 |
| - android:id="@+id/layout_share" |
75 | 61 | android:layout_width="wrap_content"
|
76 | 62 | android:layout_height="wrap_content"
|
77 |
| - android:background="?attr/selectableItemBackgroundBorderless" |
78 |
| - android:clickable="true" |
79 |
| - android:focusable="true" |
80 | 63 | android:gravity="center"
|
81 |
| - android:orientation="vertical" |
82 |
| - android:padding="@dimen/layout_margin_spacing"> |
83 |
| - |
84 |
| - <ImageView |
85 |
| - android:layout_width="@dimen/png_height" |
86 |
| - android:layout_height="@dimen/png_height" |
87 |
| - app:srcCompat="@drawable/ic_share_24dp" /> |
| 64 | + android:orientation="horizontal"> |
88 | 65 |
|
| 66 | + <LinearLayout |
| 67 | + android:id="@+id/layout_share" |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:background="?attr/selectableItemBackgroundBorderless" |
| 71 | + android:clickable="true" |
| 72 | + android:focusable="true" |
| 73 | + android:gravity="center" |
| 74 | + android:orientation="vertical" |
| 75 | + android:padding="@dimen/layout_margin_spacing"> |
| 76 | + |
| 77 | + <ImageView |
| 78 | + android:layout_width="@dimen/png_height" |
| 79 | + android:layout_height="@dimen/png_height" |
| 80 | + app:srcCompat="@drawable/ic_share_24dp" /> |
| 81 | + |
| 82 | + </LinearLayout> |
| 83 | + |
| 84 | + <LinearLayout |
| 85 | + android:id="@+id/layout_edit" |
| 86 | + android:layout_width="wrap_content" |
| 87 | + android:layout_height="wrap_content" |
| 88 | + android:background="?attr/selectableItemBackgroundBorderless" |
| 89 | + android:clickable="true" |
| 90 | + android:focusable="true" |
| 91 | + android:gravity="center" |
| 92 | + android:nextFocusLeft="@+id/info_container" |
| 93 | + android:orientation="vertical" |
| 94 | + android:padding="@dimen/layout_margin_spacing"> |
| 95 | + |
| 96 | + <ImageView |
| 97 | + android:layout_width="@dimen/png_height" |
| 98 | + android:layout_height="@dimen/png_height" |
| 99 | + app:srcCompat="@drawable/ic_edit_24dp" /> |
| 100 | + |
| 101 | + </LinearLayout> |
89 | 102 | </LinearLayout>
|
90 | 103 |
|
91 | 104 | <LinearLayout
|
92 |
| - android:id="@+id/layout_edit" |
93 | 105 | android:layout_width="wrap_content"
|
94 | 106 | android:layout_height="wrap_content"
|
95 |
| - android:background="?attr/selectableItemBackgroundBorderless" |
96 |
| - android:clickable="true" |
97 |
| - android:focusable="true" |
98 |
| - android:gravity="center" |
99 |
| - android:nextFocusLeft="@+id/info_container" |
100 |
| - android:orientation="vertical" |
101 |
| - android:padding="@dimen/layout_margin_spacing"> |
102 |
| - |
103 |
| - <ImageView |
104 |
| - android:layout_width="@dimen/png_height" |
105 |
| - android:layout_height="@dimen/png_height" |
106 |
| - app:srcCompat="@drawable/ic_edit_24dp" /> |
| 107 | + android:layout_marginTop="@dimen/layout_margin_top_height" |
| 108 | + android:orientation="horizontal"> |
107 | 109 |
|
| 110 | + <androidx.appcompat.widget.SwitchCompat |
| 111 | + android:id="@+id/chk_enable" |
| 112 | + android:layout_width="wrap_content" |
| 113 | + android:layout_height="wrap_content" |
| 114 | + app:theme="@style/BrandedSwitch" /> |
108 | 115 | </LinearLayout>
|
109 | 116 | </LinearLayout>
|
110 |
| - |
111 | 117 | </LinearLayout>
|
112 | 118 |
|
113 | 119 | </androidx.cardview.widget.CardView>
|
|
0 commit comments