|
9 | 9 | android:layout_height="match_parent"> |
10 | 10 |
|
11 | 11 | <androidx.recyclerview.widget.RecyclerView |
12 | | - android:id="@+id/rv" |
| 12 | + android:id="@+id/recycler_images" |
13 | 13 | android:layout_width="match_parent" |
14 | 14 | android:layout_height="0dp" |
15 | | - app:layout_constraintBottom_toTopOf="@+id/linear" |
| 15 | + app:layout_constraintBottom_toTopOf="@+id/container_actions" |
16 | 16 | app:layout_constraintEnd_toEndOf="parent" |
17 | 17 | app:layout_constraintStart_toStartOf="parent" |
18 | 18 | app:layout_constraintTop_toTopOf="parent" /> |
19 | 19 |
|
20 | 20 | <LinearLayout |
21 | | - android:id="@+id/linear" |
| 21 | + android:id="@+id/container_actions" |
22 | 22 | android:layout_width="match_parent" |
23 | 23 | android:layout_height="wrap_content" |
24 | 24 | android:orientation="vertical" |
|
27 | 27 | app:layout_constraintEnd_toEndOf="parent" |
28 | 28 | app:layout_constraintStart_toStartOf="parent"> |
29 | 29 |
|
| 30 | + <LinearLayout |
| 31 | + android:id="@+id/section_multiple_selection" |
| 32 | + android:layout_width="match_parent" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:orientation="horizontal"> |
| 35 | + |
| 36 | + <androidx.appcompat.widget.SwitchCompat |
| 37 | + android:id="@+id/switch_multiple_selection" |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content" |
| 40 | + app:switchPadding="8dp" |
| 41 | + /> |
| 42 | + |
| 43 | + <TextView |
| 44 | + android:layout_width="wrap_content" |
| 45 | + android:layout_height="wrap_content" |
| 46 | + android:layout_marginStart="8dp" |
| 47 | + android:layout_marginLeft="8dp" |
| 48 | + android:text="@string/setting_multiple_selection" /> |
| 49 | + </LinearLayout> |
| 50 | + |
| 51 | + <LinearLayout |
| 52 | + android:id="@+id/section_auto_rotate" |
| 53 | + android:layout_width="match_parent" |
| 54 | + android:layout_height="wrap_content" |
| 55 | + android:orientation="horizontal"> |
| 56 | + |
| 57 | + <androidx.appcompat.widget.SwitchCompat |
| 58 | + android:id="@+id/switch_auto_rotate" |
| 59 | + android:layout_width="wrap_content" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + app:switchPadding="8dp" |
| 62 | + /> |
| 63 | + |
| 64 | + <TextView |
| 65 | + android:layout_width="wrap_content" |
| 66 | + android:layout_height="wrap_content" |
| 67 | + android:layout_marginStart="8dp" |
| 68 | + android:layout_marginLeft="8dp" |
| 69 | + android:text="@string/setting_auto_rotate" /> |
| 70 | + </LinearLayout> |
| 71 | + |
30 | 72 | <LinearLayout |
31 | 73 | android:layout_width="match_parent" |
32 | 74 | android:layout_height="wrap_content" |
|
45 | 87 | android:focusable="true" |
46 | 88 | android:gravity="center" |
47 | 89 | android:padding="8dp" |
48 | | - android:text="CAMERA" |
| 90 | + android:text="@string/action_native_camera" |
49 | 91 | android:textColor="#FFFFFF" |
50 | 92 | android:textSize="16sp" /> |
51 | 93 |
|
|
62 | 104 | android:focusable="true" |
63 | 105 | android:gravity="center" |
64 | 106 | android:padding="8dp" |
65 | | - android:text="GALLERY" |
| 107 | + android:text="@string/action_native_gallery" |
66 | 108 | android:textColor="#FFFFFF" |
67 | 109 | android:textSize="16sp" /> |
68 | 110 |
|
|
86 | 128 | android:focusable="true" |
87 | 129 | android:gravity="center" |
88 | 130 | android:padding="8dp" |
89 | | - android:text="Custom single gallery" |
| 131 | + android:text="@string/action_custom_gallery" |
90 | 132 | android:textColor="#FFFFFF" |
91 | 133 | android:textSize="16sp" /> |
92 | 134 |
|
93 | 135 | <TextView |
94 | | - android:id="@+id/btn_gal_custom_multiple" |
| 136 | + android:id="@+id/btn_dialog" |
95 | 137 | android:layout_width="match_parent" |
96 | 138 | android:layout_height="wrap_content" |
97 | 139 | android:layout_marginHorizontal="2dp" |
98 | 140 | android:layout_marginVertical="2dp" |
99 | 141 | android:layout_weight="1" |
100 | 142 | android:background="#E16666" |
101 | 143 | android:clickable="true" |
102 | | - android:drawableTop="@drawable/ic_custom" |
| 144 | + android:drawableTop="@drawable/ic_list" |
103 | 145 | android:focusable="true" |
104 | 146 | android:gravity="center" |
105 | 147 | android:padding="8dp" |
106 | | - android:text="Custom multi gallery" |
| 148 | + android:text="@string/action_launch_interactive_dialog" |
107 | 149 | android:textColor="#FFFFFF" |
108 | 150 | android:textSize="16sp" /> |
109 | 151 |
|
110 | 152 | </LinearLayout> |
111 | | - |
112 | | - <TextView |
113 | | - android:id="@+id/btn_dialog" |
114 | | - android:layout_width="match_parent" |
115 | | - android:layout_height="wrap_content" |
116 | | - android:layout_marginHorizontal="2dp" |
117 | | - android:layout_marginVertical="2dp" |
118 | | - android:layout_weight="1" |
119 | | - android:background="#E16666" |
120 | | - android:clickable="true" |
121 | | - android:drawableStart="@drawable/ic_list" |
122 | | - android:drawableLeft="@drawable/ic_list" |
123 | | - android:focusable="true" |
124 | | - android:gravity="center" |
125 | | - android:padding="8dp" |
126 | | - android:text="Launch interactive dialog" |
127 | | - android:textColor="#FFFFFF" |
128 | | - android:textSize="16sp" /> |
129 | | - |
130 | | - <androidx.appcompat.widget.SwitchCompat |
131 | | - android:id="@+id/switch_auto_rotate" |
132 | | - android:layout_width="match_parent" |
133 | | - android:layout_height="wrap_content" |
134 | | - android:layoutDirection="rtl" |
135 | | - app:switchPadding="8dp" |
136 | | - android:text="Auto rotate images" /> |
137 | 153 | </LinearLayout> |
138 | 154 | </androidx.constraintlayout.widget.ConstraintLayout> |
139 | 155 | </layout> |
0 commit comments