mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
Replace checkboxes with switches
This commit is contained in:
parent
760d227b0b
commit
0fb765a613
3 changed files with 77 additions and 77 deletions
|
@ -69,9 +69,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_use_english"
|
android:id="@+id/settings_use_english"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/use_english_language" />
|
android:text="@string/use_english_language" />
|
||||||
|
@ -190,9 +190,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_hidden_items"
|
android:id="@+id/settings_show_hidden_items"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_hidden_items" />
|
android:text="@string/show_hidden_items" />
|
||||||
|
@ -205,9 +205,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_search_all_files"
|
android:id="@+id/settings_search_all_files"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/search_all_files" />
|
android:text="@string/search_all_files" />
|
||||||
|
@ -231,9 +231,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_autoplay_videos"
|
android:id="@+id/settings_autoplay_videos"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/autoplay_videos" />
|
android:text="@string/autoplay_videos" />
|
||||||
|
@ -246,9 +246,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_remember_last_video_position"
|
android:id="@+id/settings_remember_last_video_position"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/remember_last_video_position" />
|
android:text="@string/remember_last_video_position" />
|
||||||
|
@ -261,9 +261,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_loop_videos"
|
android:id="@+id/settings_loop_videos"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/loop_videos" />
|
android:text="@string/loop_videos" />
|
||||||
|
@ -276,9 +276,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_open_videos_on_separate_screen"
|
android:id="@+id/settings_open_videos_on_separate_screen"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/open_videos_on_separate_screen" />
|
android:text="@string/open_videos_on_separate_screen" />
|
||||||
|
@ -291,9 +291,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_video_gestures"
|
android:id="@+id/settings_allow_video_gestures"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_video_gestures" />
|
android:text="@string/allow_video_gestures" />
|
||||||
|
@ -317,9 +317,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_crop_thumbnails"
|
android:id="@+id/settings_crop_thumbnails"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/crop_thumbnails" />
|
android:text="@string/crop_thumbnails" />
|
||||||
|
@ -332,9 +332,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_animate_gifs"
|
android:id="@+id/settings_animate_gifs"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/animate_gifs" />
|
android:text="@string/animate_gifs" />
|
||||||
|
@ -396,9 +396,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_scroll_horizontally"
|
android:id="@+id/settings_scroll_horizontally"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/scroll_thumbnails_horizontally" />
|
android:text="@string/scroll_thumbnails_horizontally" />
|
||||||
|
@ -411,9 +411,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_enable_pull_to_refresh"
|
android:id="@+id/settings_enable_pull_to_refresh"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/enable_pull_to_refresh" />
|
android:text="@string/enable_pull_to_refresh" />
|
||||||
|
@ -437,9 +437,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_max_brightness"
|
android:id="@+id/settings_max_brightness"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/max_brightness" />
|
android:text="@string/max_brightness" />
|
||||||
|
@ -452,9 +452,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_black_background"
|
android:id="@+id/settings_black_background"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/black_background_at_fullscreen" />
|
android:text="@string/black_background_at_fullscreen" />
|
||||||
|
@ -467,9 +467,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_hide_system_ui"
|
android:id="@+id/settings_hide_system_ui"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/hide_system_ui_at_fullscreen" />
|
android:text="@string/hide_system_ui_at_fullscreen" />
|
||||||
|
@ -482,9 +482,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_instant_change"
|
android:id="@+id/settings_allow_instant_change"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_instant_change" />
|
android:text="@string/allow_instant_change" />
|
||||||
|
@ -497,9 +497,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_photo_gestures"
|
android:id="@+id/settings_allow_photo_gestures"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_photo_gestures" />
|
android:text="@string/allow_photo_gestures" />
|
||||||
|
@ -512,9 +512,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_down_gesture"
|
android:id="@+id/settings_allow_down_gesture"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_down_gesture" />
|
android:text="@string/allow_down_gesture" />
|
||||||
|
@ -527,9 +527,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_notch"
|
android:id="@+id/settings_show_notch"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_notch" />
|
android:text="@string/show_notch" />
|
||||||
|
@ -576,9 +576,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_zooming_images"
|
android:id="@+id/settings_allow_zooming_images"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_deep_zooming_images" />
|
android:text="@string/allow_deep_zooming_images" />
|
||||||
|
@ -591,9 +591,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_rotating_with_gestures"
|
android:id="@+id/settings_allow_rotating_with_gestures"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_rotating_gestures" />
|
android:text="@string/allow_rotating_gestures" />
|
||||||
|
@ -606,9 +606,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_highest_quality"
|
android:id="@+id/settings_show_highest_quality"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_highest_quality" />
|
android:text="@string/show_highest_quality" />
|
||||||
|
@ -621,9 +621,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_allow_one_to_one_zoom"
|
android:id="@+id/settings_allow_one_to_one_zoom"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/allow_one_to_one_zoom" />
|
android:text="@string/allow_one_to_one_zoom" />
|
||||||
|
@ -647,9 +647,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_extended_details"
|
android:id="@+id/settings_show_extended_details"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_extended_details" />
|
android:text="@string/show_extended_details" />
|
||||||
|
@ -662,9 +662,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_hide_extended_details"
|
android:id="@+id/settings_hide_extended_details"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/hide_extended_details" />
|
android:text="@string/hide_extended_details" />
|
||||||
|
@ -703,9 +703,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_app_password_protection"
|
android:id="@+id/settings_app_password_protection"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/password_protect_whole_app" />
|
android:text="@string/password_protect_whole_app" />
|
||||||
|
@ -718,9 +718,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_hidden_item_password_protection"
|
android:id="@+id/settings_hidden_item_password_protection"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/password_protect_hidden_items" />
|
android:text="@string/password_protect_hidden_items" />
|
||||||
|
@ -733,9 +733,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_excluded_item_password_protection"
|
android:id="@+id/settings_excluded_item_password_protection"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/password_protect_excluded" />
|
android:text="@string/password_protect_excluded" />
|
||||||
|
@ -748,9 +748,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_file_deletion_password_protection"
|
android:id="@+id/settings_file_deletion_password_protection"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/password_protect_file_deletion" />
|
android:text="@string/password_protect_file_deletion" />
|
||||||
|
@ -774,9 +774,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_delete_empty_folders"
|
android:id="@+id/settings_delete_empty_folders"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/delete_empty_folders" />
|
android:text="@string/delete_empty_folders" />
|
||||||
|
@ -789,9 +789,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_keep_last_modified"
|
android:id="@+id/settings_keep_last_modified"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/keep_last_modified" />
|
android:text="@string/keep_last_modified" />
|
||||||
|
@ -804,9 +804,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_skip_delete_confirmation"
|
android:id="@+id/settings_skip_delete_confirmation"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/skip_delete_confirmation" />
|
android:text="@string/skip_delete_confirmation" />
|
||||||
|
@ -830,9 +830,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_bottom_actions_checkbox"
|
android:id="@+id/settings_bottom_actions_checkbox"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_at_bottom" />
|
android:text="@string/show_at_bottom" />
|
||||||
|
@ -871,9 +871,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_use_recycle_bin"
|
android:id="@+id/settings_use_recycle_bin"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/move_items_into_recycle_bin" />
|
android:text="@string/move_items_into_recycle_bin" />
|
||||||
|
@ -886,9 +886,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_recycle_bin"
|
android:id="@+id/settings_show_recycle_bin"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_recycle_bin" />
|
android:text="@string/show_recycle_bin" />
|
||||||
|
@ -901,9 +901,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/settings_show_recycle_bin_last"
|
android:id="@+id/settings_show_recycle_bin_last"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_recycle_bin_last" />
|
android:text="@string/show_recycle_bin_last" />
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/selectableItemBackground">
|
android:background="?attr/selectableItemBackground">
|
||||||
|
|
||||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
<org.fossify.commons.views.MyMaterialSwitch
|
||||||
android:id="@+id/folder_picker_show_folder_name"
|
android:id="@+id/folder_picker_show_folder_name"
|
||||||
style="@style/SettingsCheckboxStyle"
|
style="@style/SettingsSwitchStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/show_folder_name" />
|
android:text="@string/show_folder_name" />
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
android:layout_below="@+id/folder_picker_show_folder_name_holder"
|
android:layout_below="@+id/folder_picker_show_folder_name_holder"
|
||||||
android:layout_marginTop="@dimen/small_margin"
|
android:layout_marginTop="@dimen/small_margin"
|
||||||
android:layout_marginBottom="@dimen/normal_margin"
|
android:layout_marginBottom="@dimen/normal_margin"
|
||||||
android:paddingStart="@dimen/activity_margin"
|
android:paddingHorizontal="@dimen/settings_label_start_margin"
|
||||||
android:text="@string/folder_on_widget" />
|
android:text="@string/folder_on_widget" />
|
||||||
|
|
||||||
<org.fossify.commons.views.MyTextView
|
<org.fossify.commons.views.MyTextView
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/folder_picker_label"
|
android:layout_below="@+id/folder_picker_label"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/settings_label_start_margin"
|
||||||
android:background="@drawable/button_background"
|
android:background="@drawable/button_background"
|
||||||
android:padding="@dimen/normal_margin"
|
android:padding="@dimen/normal_margin"
|
||||||
tools:text="@string/internal" />
|
tools:text="@string/internal" />
|
||||||
|
|
|
@ -11,7 +11,7 @@ exif = "1.0.1"
|
||||||
#Room
|
#Room
|
||||||
room = "2.6.1"
|
room = "2.6.1"
|
||||||
#Fossify
|
#Fossify
|
||||||
commons = "0c8d33952e"
|
commons = "14b18bda7f"
|
||||||
#Gradle4
|
#Gradle4
|
||||||
gradlePlugins-agp = "8.5.0"
|
gradlePlugins-agp = "8.5.0"
|
||||||
#Other
|
#Other
|
||||||
|
|
Loading…
Reference in a new issue