|
65 | 65 |
|
66 | 66 | <RelativeLayout |
67 | 67 | android:id="@+id/settings_use_english_holder" |
68 | | - style="@style/SettingsHolderCheckboxStyle" |
| 68 | + style="@style/SettingsHolderSwitchStyle" |
69 | 69 | android:layout_width="match_parent" |
70 | 70 | android:layout_height="wrap_content"> |
71 | 71 |
|
72 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 72 | + <org.fossify.commons.views.MyMaterialSwitch |
73 | 73 | android:id="@+id/settings_use_english" |
74 | | - style="@style/SettingsCheckboxStyle" |
| 74 | + style="@style/SettingsSwitchStyle" |
75 | 75 | android:layout_width="match_parent" |
76 | 76 | android:layout_height="wrap_content" |
77 | 77 | android:text="@string/use_english_language" /> |
|
171 | 171 |
|
172 | 172 | <RelativeLayout |
173 | 173 | android:id="@+id/settings_press_back_twice_holder" |
174 | | - style="@style/SettingsHolderCheckboxStyle" |
| 174 | + style="@style/SettingsHolderSwitchStyle" |
175 | 175 | android:layout_width="match_parent" |
176 | 176 | android:layout_height="wrap_content"> |
177 | 177 |
|
178 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 178 | + <org.fossify.commons.views.MyMaterialSwitch |
179 | 179 | android:id="@+id/settings_press_back_twice" |
180 | | - style="@style/SettingsCheckboxStyle" |
| 180 | + style="@style/SettingsSwitchStyle" |
181 | 181 | android:layout_width="match_parent" |
182 | 182 | android:layout_height="wrap_content" |
183 | 183 | android:text="@string/press_back_twice" /> |
|
197 | 197 |
|
198 | 198 | <RelativeLayout |
199 | 199 | android:id="@+id/settings_show_hidden_holder" |
200 | | - style="@style/SettingsHolderCheckboxStyle" |
| 200 | + style="@style/SettingsHolderSwitchStyle" |
201 | 201 | android:layout_width="match_parent" |
202 | 202 | android:layout_height="wrap_content"> |
203 | 203 |
|
204 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 204 | + <org.fossify.commons.views.MyMaterialSwitch |
205 | 205 | android:id="@+id/settings_show_hidden" |
206 | | - style="@style/SettingsCheckboxStyle" |
| 206 | + style="@style/SettingsSwitchStyle" |
207 | 207 | android:layout_width="match_parent" |
208 | 208 | android:layout_height="wrap_content" |
209 | 209 | android:text="@string/show_hidden_items" /> |
|
223 | 223 |
|
224 | 224 | <RelativeLayout |
225 | 225 | android:id="@+id/settings_enable_pull_to_refresh_holder" |
226 | | - style="@style/SettingsHolderCheckboxStyle" |
| 226 | + style="@style/SettingsHolderSwitchStyle" |
227 | 227 | android:layout_width="match_parent" |
228 | 228 | android:layout_height="wrap_content"> |
229 | 229 |
|
230 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 230 | + <org.fossify.commons.views.MyMaterialSwitch |
231 | 231 | android:id="@+id/settings_enable_pull_to_refresh" |
232 | | - style="@style/SettingsCheckboxStyle" |
| 232 | + style="@style/SettingsSwitchStyle" |
233 | 233 | android:layout_width="match_parent" |
234 | 234 | android:layout_height="wrap_content" |
235 | 235 | android:text="@string/enable_pull_to_refresh" /> |
|
249 | 249 |
|
250 | 250 | <RelativeLayout |
251 | 251 | android:id="@+id/settings_keep_last_modified_holder" |
252 | | - style="@style/SettingsHolderCheckboxStyle" |
| 252 | + style="@style/SettingsHolderSwitchStyle" |
253 | 253 | android:layout_width="match_parent" |
254 | 254 | android:layout_height="wrap_content"> |
255 | 255 |
|
256 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 256 | + <org.fossify.commons.views.MyMaterialSwitch |
257 | 257 | android:id="@+id/settings_keep_last_modified" |
258 | | - style="@style/SettingsCheckboxStyle" |
| 258 | + style="@style/SettingsSwitchStyle" |
259 | 259 | android:layout_width="match_parent" |
260 | 260 | android:layout_height="wrap_content" |
261 | 261 | android:text="@string/keep_last_modified" /> |
|
264 | 264 |
|
265 | 265 | <RelativeLayout |
266 | 266 | android:id="@+id/settings_skip_delete_confirmation_holder" |
267 | | - style="@style/SettingsHolderCheckboxStyle" |
| 267 | + style="@style/SettingsHolderSwitchStyle" |
268 | 268 | android:layout_width="match_parent" |
269 | 269 | android:layout_height="wrap_content"> |
270 | 270 |
|
271 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 271 | + <org.fossify.commons.views.MyMaterialSwitch |
272 | 272 | android:id="@+id/settings_skip_delete_confirmation" |
273 | | - style="@style/SettingsCheckboxStyle" |
| 273 | + style="@style/SettingsSwitchStyle" |
274 | 274 | android:layout_width="match_parent" |
275 | 275 | android:layout_height="wrap_content" |
276 | 276 | android:text="@string/skip_delete_confirmation" /> |
|
290 | 290 |
|
291 | 291 | <RelativeLayout |
292 | 292 | android:id="@+id/settings_password_protection_holder" |
293 | | - style="@style/SettingsHolderCheckboxStyle" |
| 293 | + style="@style/SettingsHolderSwitchStyle" |
294 | 294 | android:layout_width="match_parent" |
295 | 295 | android:layout_height="wrap_content"> |
296 | 296 |
|
297 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 297 | + <org.fossify.commons.views.MyMaterialSwitch |
298 | 298 | android:id="@+id/settings_password_protection" |
299 | | - style="@style/SettingsCheckboxStyle" |
| 299 | + style="@style/SettingsSwitchStyle" |
300 | 300 | android:layout_width="match_parent" |
301 | 301 | android:layout_height="wrap_content" |
302 | 302 | android:text="@string/password_protect_hidden_items" /> |
|
305 | 305 |
|
306 | 306 | <RelativeLayout |
307 | 307 | android:id="@+id/settings_app_password_protection_holder" |
308 | | - style="@style/SettingsHolderCheckboxStyle" |
| 308 | + style="@style/SettingsHolderSwitchStyle" |
309 | 309 | android:layout_width="match_parent" |
310 | 310 | android:layout_height="wrap_content"> |
311 | 311 |
|
312 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 312 | + <org.fossify.commons.views.MyMaterialSwitch |
313 | 313 | android:id="@+id/settings_app_password_protection" |
314 | | - style="@style/SettingsCheckboxStyle" |
| 314 | + style="@style/SettingsSwitchStyle" |
315 | 315 | android:layout_width="match_parent" |
316 | 316 | android:layout_height="wrap_content" |
317 | 317 | android:text="@string/password_protect_whole_app" /> |
|
320 | 320 |
|
321 | 321 | <RelativeLayout |
322 | 322 | android:id="@+id/settings_file_deletion_password_protection_holder" |
323 | | - style="@style/SettingsHolderCheckboxStyle" |
| 323 | + style="@style/SettingsHolderSwitchStyle" |
324 | 324 | android:layout_width="match_parent" |
325 | 325 | android:layout_height="wrap_content"> |
326 | 326 |
|
327 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 327 | + <org.fossify.commons.views.MyMaterialSwitch |
328 | 328 | android:id="@+id/settings_file_deletion_password_protection" |
329 | | - style="@style/SettingsCheckboxStyle" |
| 329 | + style="@style/SettingsSwitchStyle" |
330 | 330 | android:layout_width="match_parent" |
331 | 331 | android:layout_height="wrap_content" |
332 | 332 | android:text="@string/password_protect_file_deletion" /> |
|
335 | 335 |
|
336 | 336 | <RelativeLayout |
337 | 337 | android:id="@+id/settings_enable_root_access_holder" |
338 | | - style="@style/SettingsHolderCheckboxStyle" |
| 338 | + style="@style/SettingsHolderSwitchStyle" |
339 | 339 | android:layout_width="match_parent" |
340 | 340 | android:layout_height="wrap_content"> |
341 | 341 |
|
342 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 342 | + <org.fossify.commons.views.MyMaterialSwitch |
343 | 343 | android:id="@+id/settings_enable_root_access" |
344 | | - style="@style/SettingsCheckboxStyle" |
| 344 | + style="@style/SettingsSwitchStyle" |
345 | 345 | android:layout_width="match_parent" |
346 | 346 | android:layout_height="wrap_content" |
347 | 347 | android:text="@string/enable_root_access" /> |
|
0 commit comments