|
64 | 64 |
|
65 | 65 | </com.google.android.material.textfield.TextInputLayout>
|
66 | 66 |
|
| 67 | + <TextView |
| 68 | + android:id="@+id/post_type_explanation_text_view_customize_post_filter_activity" |
| 69 | + android:layout_width="match_parent" |
| 70 | + android:layout_height="wrap_content" |
| 71 | + android:paddingTop="8dp" |
| 72 | + android:paddingBottom="8dp" |
| 73 | + android:paddingStart="16dp" |
| 74 | + android:paddingEnd="16dp" |
| 75 | + android:text="@string/post_filter_post_type_explanation" |
| 76 | + android:textSize="?attr/font_default" |
| 77 | + android:textColor="?attr/primaryTextColor" |
| 78 | + android:fontFamily="?attr/font_family" /> |
| 79 | + |
67 | 80 | <LinearLayout
|
68 | 81 | android:id="@+id/post_type_text_linear_layout_customize_post_filter_activity"
|
69 | 82 | android:layout_width="match_parent"
|
70 | 83 | android:layout_height="wrap_content"
|
71 | 84 | android:paddingTop="4dp"
|
72 | 85 | android:paddingBottom="4dp"
|
73 |
| - android:paddingStart="32dp" |
74 |
| - android:paddingEnd="8dp" |
| 86 | + android:paddingStart="16dp" |
| 87 | + android:paddingEnd="16dp" |
75 | 88 | android:clickable="true"
|
76 | 89 | android:focusable="true"
|
77 | 90 | android:background="?attr/selectableItemBackground">
|
|
82 | 95 | android:layout_height="wrap_content"
|
83 | 96 | android:layout_weight="1"
|
84 | 97 | android:layout_gravity="center_vertical"
|
| 98 | + android:drawablePadding="32dp" |
85 | 99 | android:text="@string/bottom_sheet_post_text"
|
86 | 100 | android:fontFamily="?attr/font_default"
|
87 | 101 | android:textSize="?attr/font_default" />
|
88 | 102 |
|
89 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
90 |
| - android:id="@+id/post_type_text_check_box_customize_post_filter_activity" |
| 103 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 104 | + android:id="@+id/post_type_text_switch_customize_post_filter_activity" |
91 | 105 | android:layout_width="wrap_content"
|
92 | 106 | android:layout_height="wrap_content"
|
93 | 107 | android:layout_gravity="center_vertical" />
|
|
100 | 114 | android:layout_height="wrap_content"
|
101 | 115 | android:paddingTop="4dp"
|
102 | 116 | android:paddingBottom="4dp"
|
103 |
| - android:paddingStart="32dp" |
104 |
| - android:paddingEnd="8dp" |
| 117 | + android:paddingStart="16dp" |
| 118 | + android:paddingEnd="16dp" |
105 | 119 | android:clickable="true"
|
106 | 120 | android:focusable="true"
|
107 | 121 | android:background="?attr/selectableItemBackground">
|
|
112 | 126 | android:layout_height="wrap_content"
|
113 | 127 | android:layout_weight="1"
|
114 | 128 | android:layout_gravity="center_vertical"
|
| 129 | + android:drawablePadding="32dp" |
115 | 130 | android:text="@string/bottom_sheet_post_link"
|
116 | 131 | android:fontFamily="?attr/font_default"
|
117 | 132 | android:textSize="?attr/font_default" />
|
118 | 133 |
|
119 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
120 |
| - android:id="@+id/post_type_link_check_box_customize_post_filter_activity" |
| 134 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 135 | + android:id="@+id/post_type_link_switch_customize_post_filter_activity" |
121 | 136 | android:layout_width="wrap_content"
|
122 | 137 | android:layout_height="wrap_content"
|
123 | 138 | android:layout_gravity="center_vertical" />
|
|
130 | 145 | android:layout_height="wrap_content"
|
131 | 146 | android:paddingTop="4dp"
|
132 | 147 | android:paddingBottom="4dp"
|
133 |
| - android:paddingStart="32dp" |
134 |
| - android:paddingEnd="8dp" |
| 148 | + android:paddingStart="16dp" |
| 149 | + android:paddingEnd="16dp" |
135 | 150 | android:clickable="true"
|
136 | 151 | android:focusable="true"
|
137 | 152 | android:background="?attr/selectableItemBackground">
|
|
142 | 157 | android:layout_height="wrap_content"
|
143 | 158 | android:layout_weight="1"
|
144 | 159 | android:layout_gravity="center_vertical"
|
| 160 | + android:drawablePadding="32dp" |
145 | 161 | android:text="@string/bottom_sheet_post_image"
|
146 | 162 | android:fontFamily="?attr/font_default"
|
147 | 163 | android:textSize="?attr/font_default" />
|
148 | 164 |
|
149 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
150 |
| - android:id="@+id/post_type_image_check_box_customize_post_filter_activity" |
| 165 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 166 | + android:id="@+id/post_type_image_switch_customize_post_filter_activity" |
151 | 167 | android:layout_width="wrap_content"
|
152 | 168 | android:layout_height="wrap_content"
|
153 | 169 | android:layout_gravity="center_vertical" />
|
|
160 | 176 | android:layout_height="wrap_content"
|
161 | 177 | android:paddingTop="4dp"
|
162 | 178 | android:paddingBottom="4dp"
|
163 |
| - android:paddingStart="32dp" |
164 |
| - android:paddingEnd="8dp" |
| 179 | + android:paddingStart="16dp" |
| 180 | + android:paddingEnd="16dp" |
165 | 181 | android:clickable="true"
|
166 | 182 | android:focusable="true"
|
167 | 183 | android:background="?attr/selectableItemBackground">
|
|
172 | 188 | android:layout_height="wrap_content"
|
173 | 189 | android:layout_weight="1"
|
174 | 190 | android:layout_gravity="center_vertical"
|
| 191 | + android:drawablePadding="32dp" |
175 | 192 | android:text="@string/post_type_gif"
|
176 | 193 | android:fontFamily="?attr/font_default"
|
177 | 194 | android:textSize="?attr/font_default" />
|
178 | 195 |
|
179 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
180 |
| - android:id="@+id/post_type_gif_check_box_customize_post_filter_activity" |
| 196 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 197 | + android:id="@+id/post_type_gif_switch_customize_post_filter_activity" |
181 | 198 | android:layout_width="wrap_content"
|
182 | 199 | android:layout_height="wrap_content"
|
183 | 200 | android:layout_gravity="center_vertical" />
|
|
190 | 207 | android:layout_height="wrap_content"
|
191 | 208 | android:paddingTop="4dp"
|
192 | 209 | android:paddingBottom="4dp"
|
193 |
| - android:paddingStart="32dp" |
194 |
| - android:paddingEnd="8dp" |
| 210 | + android:paddingStart="16dp" |
| 211 | + android:paddingEnd="16dp" |
195 | 212 | android:clickable="true"
|
196 | 213 | android:focusable="true"
|
197 | 214 | android:background="?attr/selectableItemBackground">
|
|
202 | 219 | android:layout_height="wrap_content"
|
203 | 220 | android:layout_weight="1"
|
204 | 221 | android:layout_gravity="center_vertical"
|
| 222 | + android:drawablePadding="32dp" |
205 | 223 | android:text="@string/bottom_sheet_post_video"
|
206 | 224 | android:fontFamily="?attr/font_default"
|
207 | 225 | android:textSize="?attr/font_default" />
|
208 | 226 |
|
209 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
210 |
| - android:id="@+id/post_type_video_check_box_customize_post_filter_activity" |
| 227 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 228 | + android:id="@+id/post_type_video_switch_customize_post_filter_activity" |
211 | 229 | android:layout_width="wrap_content"
|
212 | 230 | android:layout_height="wrap_content"
|
213 | 231 | android:layout_gravity="center_vertical" />
|
|
220 | 238 | android:layout_height="wrap_content"
|
221 | 239 | android:paddingTop="4dp"
|
222 | 240 | android:paddingBottom="4dp"
|
223 |
| - android:paddingStart="32dp" |
224 |
| - android:paddingEnd="8dp" |
| 241 | + android:paddingStart="16dp" |
| 242 | + android:paddingEnd="16dp" |
225 | 243 | android:clickable="true"
|
226 | 244 | android:focusable="true"
|
227 | 245 | android:background="?attr/selectableItemBackground">
|
|
232 | 250 | android:layout_height="wrap_content"
|
233 | 251 | android:layout_weight="1"
|
234 | 252 | android:layout_gravity="center_vertical"
|
| 253 | + android:drawablePadding="32dp" |
235 | 254 | android:text="@string/post_type_gallery"
|
236 | 255 | android:fontFamily="?attr/font_default"
|
237 | 256 | android:textSize="?attr/font_default" />
|
238 | 257 |
|
239 |
| - <com.google.android.material.checkbox.MaterialCheckBox |
240 |
| - android:id="@+id/post_type_gallery_check_box_customize_post_filter_activity" |
| 258 | + <com.google.android.material.materialswitch.MaterialSwitch |
| 259 | + android:id="@+id/post_type_gallery_switch_customize_post_filter_activity" |
241 | 260 | android:layout_width="wrap_content"
|
242 | 261 | android:layout_height="wrap_content"
|
243 | 262 | android:layout_gravity="center_vertical" />
|
|
250 | 269 | android:layout_height="wrap_content"
|
251 | 270 | android:paddingTop="4dp"
|
252 | 271 | android:paddingBottom="4dp"
|
253 |
| - android:paddingStart="32dp" |
| 272 | + android:paddingStart="16dp" |
254 | 273 | android:paddingEnd="16dp"
|
255 | 274 | android:clickable="true"
|
256 | 275 | android:focusable="true"
|
|
262 | 281 | android:layout_height="wrap_content"
|
263 | 282 | android:layout_weight="1"
|
264 | 283 | android:layout_gravity="center_vertical"
|
| 284 | + android:drawablePadding="32dp" |
265 | 285 | android:text="@string/only_nsfw"
|
266 | 286 | android:fontFamily="?attr/font_default"
|
267 | 287 | android:textSize="?attr/font_default" />
|
|
280 | 300 | android:layout_height="wrap_content"
|
281 | 301 | android:paddingTop="4dp"
|
282 | 302 | android:paddingBottom="4dp"
|
283 |
| - android:paddingStart="32dp" |
| 303 | + android:paddingStart="16dp" |
284 | 304 | android:paddingEnd="16dp"
|
285 | 305 | android:clickable="true"
|
286 | 306 | android:focusable="true"
|
|
292 | 312 | android:layout_height="wrap_content"
|
293 | 313 | android:layout_weight="1"
|
294 | 314 | android:layout_gravity="center_vertical"
|
| 315 | + android:drawablePadding="32dp" |
295 | 316 | android:text="@string/only_spoiler"
|
296 | 317 | android:fontFamily="?attr/font_default"
|
297 | 318 | android:textSize="?attr/font_default" />
|
|
0 commit comments