mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Add categories to settings pages
This commit is contained in:
parent
b6b7cceea5
commit
f3e7a5daa6
6 changed files with 312 additions and 249 deletions
|
@ -242,6 +242,7 @@
|
||||||
<string name="automatic_plugin_download_summary">Automatically install all not yet installed plugins from added repositories.</string>
|
<string name="automatic_plugin_download_summary">Automatically install all not yet installed plugins from added repositories.</string>
|
||||||
<string name="updates_settings">Show app updates</string>
|
<string name="updates_settings">Show app updates</string>
|
||||||
<string name="updates_settings_des">Automatically search for new updates on start</string>
|
<string name="updates_settings_des">Automatically search for new updates on start</string>
|
||||||
|
<string name="redo_setup_process">Redo setup process</string>
|
||||||
<string name="uprereleases_settings">Update to prereleases</string>
|
<string name="uprereleases_settings">Update to prereleases</string>
|
||||||
<string name="uprereleases_settings_des">Search for prerelease updates instead of full releases only</string>
|
<string name="uprereleases_settings_des">Search for prerelease updates instead of full releases only</string>
|
||||||
<string name="apk_installer_settings">APK Installer</string>
|
<string name="apk_installer_settings">APK Installer</string>
|
||||||
|
@ -389,6 +390,19 @@
|
||||||
responsibility of user to avoid any actions that might violate the laws governing his/her locality. Use
|
responsibility of user to avoid any actions that might violate the laws governing his/her locality. Use
|
||||||
CloudStream 3 at your own risk.
|
CloudStream 3 at your own risk.
|
||||||
</string>
|
</string>
|
||||||
|
<string name="pref_category_links">Links</string>
|
||||||
|
<string name="pref_category_app_updates">App updates</string>
|
||||||
|
<string name="pref_category_backup">Backup</string>
|
||||||
|
<string name="pref_category_extensions">Extensions</string>
|
||||||
|
<string name="pref_category_actions">Actions</string>
|
||||||
|
<string name="pref_category_cache">Cache</string>
|
||||||
|
<string name="pref_category_gestures">Gestures</string>
|
||||||
|
<string name="pref_category_player_features">Player features</string>
|
||||||
|
<string name="pref_category_subtitles">Subtitles</string>
|
||||||
|
<string name="pref_category_player_layout">Layout</string>
|
||||||
|
<string name="pref_category_defaults">Defaults</string>
|
||||||
|
<string name="pref_category_looks">Looks</string>
|
||||||
|
<string name="pref_category_ui_features">Features</string>
|
||||||
<string name="category_general">General</string>
|
<string name="category_general">General</string>
|
||||||
<string name="random_button_settings">Random Button</string>
|
<string name="random_button_settings">Random Button</string>
|
||||||
<string name="random_button_settings_desc">Show random button on Homepage</string>
|
<string name="random_button_settings_desc">Show random button on Homepage</string>
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
<item name="colorAccent">@color/material_dynamic_primary80</item>
|
<item name="colorAccent">@color/material_dynamic_primary80</item>
|
||||||
<item name="colorOnPrimary">@color/material_dynamic_primary20</item>
|
<item name="colorOnPrimary">@color/material_dynamic_primary20</item>
|
||||||
<!-- Needed for leanback fuckery -->
|
<!-- Needed for leanback fuckery -->
|
||||||
<item name="android:colorAccent">@color/material_dynamic_primary30</item>
|
<item name="android:colorAccent">@color/material_dynamic_primary80</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="OverlayPrimaryColorMonetTwo">
|
<style name="OverlayPrimaryColorMonetTwo">
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
<item name="colorAccent">@color/material_dynamic_secondary80</item>
|
<item name="colorAccent">@color/material_dynamic_secondary80</item>
|
||||||
<item name="colorOnPrimary">@color/material_dynamic_secondary20</item>
|
<item name="colorOnPrimary">@color/material_dynamic_secondary20</item>
|
||||||
<!-- Needed for leanback fuckery -->
|
<!-- Needed for leanback fuckery -->
|
||||||
<item name="android:colorAccent">@color/material_dynamic_secondary30</item>
|
<item name="android:colorAccent">@color/material_dynamic_secondary80</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="OverlayPrimaryColorBlue">
|
<style name="OverlayPrimaryColorBlue">
|
||||||
|
|
|
@ -1,104 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_outline_subtitles_24"
|
|
||||||
android:key="@string/subtitle_settings_key"
|
|
||||||
android:title="@string/player_subtitles_settings"
|
|
||||||
app:summary="@string/player_subtitles_settings_des" />
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_outline_subtitles_24"
|
|
||||||
android:key="@string/subtitle_settings_chromecast_key"
|
|
||||||
android:title="@string/chromecast_subtitles_settings"
|
|
||||||
app:summary="@string/chromecast_subtitles_settings_des" />
|
|
||||||
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_baseline_hd_24"
|
|
||||||
android:key="@string/quality_pref_key"
|
|
||||||
android:title="@string/watch_quality_pref" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/netflix_play"
|
|
||||||
android:key="@string/player_pref_key"
|
|
||||||
android:title="@string/player_pref" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_baseline_text_format_24"
|
|
||||||
android:key="@string/prefer_limit_title_key"
|
|
||||||
android:title="@string/limit_title" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_baseline_text_format_24"
|
|
||||||
android:key="@string/prefer_limit_title_rez_key"
|
|
||||||
android:title="@string/limit_title_rez" />
|
|
||||||
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_picture_in_picture_alt_24"
|
|
||||||
android:summary="@string/picture_in_picture_des"
|
|
||||||
android:title="@string/picture_in_picture"
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:key="@string/pip_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_aspect_ratio_24"
|
|
||||||
android:summary="@string/player_size_settings_des"
|
|
||||||
android:title="@string/player_size_settings"
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:key="@string/player_resize_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_speed_24"
|
|
||||||
android:summary="@string/eigengraumode_settings_des"
|
|
||||||
android:title="@string/eigengraumode_settings"
|
|
||||||
app:defaultValue="false"
|
|
||||||
app:key="@string/playback_speed_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_ondemand_video_24"
|
|
||||||
android:summary="@string/swipe_to_seek_settings_des"
|
|
||||||
android:title="@string/swipe_to_seek_settings"
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:key="@string/swipe_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_ondemand_video_24"
|
|
||||||
android:summary="@string/swipe_to_change_settings_des"
|
|
||||||
android:title="@string/swipe_to_change_settings"
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:key="@string/swipe_vertical_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_skip_next_24"
|
|
||||||
android:summary="@string/autoplay_next_settings_des"
|
|
||||||
android:title="@string/autoplay_next_settings"
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:key="@string/autoplay_next_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_skip_next_24"
|
|
||||||
android:title="@string/video_skip_op"
|
|
||||||
app:defaultValue="true"
|
|
||||||
android:summary="@string/enable_skip_op_from_database_des"
|
|
||||||
app:key="@string/enable_skip_op_from_database" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_touch_app_24"
|
|
||||||
android:summary="@string/double_tap_to_seek_settings_des"
|
|
||||||
android:title="@string/double_tap_to_seek_settings"
|
|
||||||
app:defaultValue="false"
|
|
||||||
app:key="@string/double_tap_enabled_key" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/netflix_pause"
|
|
||||||
android:summary="@string/double_tap_to_pause_settings_des"
|
|
||||||
android:title="@string/double_tap_to_pause_settings"
|
|
||||||
app:defaultValue="false"
|
|
||||||
app:key="@string/double_tap_pause_enabled_key" />
|
|
||||||
|
|
||||||
<SeekBarPreference
|
|
||||||
android:defaultValue="10"
|
|
||||||
android:max="60"
|
|
||||||
android:title="@string/double_tap_to_seek_amount_settings"
|
|
||||||
app:adjustable="true"
|
|
||||||
app:defaultValue="10"
|
|
||||||
app:icon="@drawable/go_forward_30"
|
|
||||||
app:key="@string/double_tap_seek_time_key"
|
|
||||||
app:min="5"
|
|
||||||
app:seekBarIncrement="5"
|
|
||||||
app:showSeekBarValue="true" />
|
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:icon="@drawable/baseline_sync_24"
|
android:icon="@drawable/baseline_sync_24"
|
||||||
|
@ -107,26 +9,144 @@
|
||||||
app:defaultValue="true"
|
app:defaultValue="true"
|
||||||
app:key="@string/episode_sync_enabled_key" />
|
app:key="@string/episode_sync_enabled_key" />
|
||||||
|
|
||||||
<Preference
|
<PreferenceCategory
|
||||||
android:icon="@drawable/ic_baseline_storage_24"
|
android:title="@string/pref_category_defaults">
|
||||||
android:key="@string/video_buffer_disk_key"
|
<Preference
|
||||||
android:summary="@string/video_disk_description"
|
android:icon="@drawable/ic_baseline_hd_24"
|
||||||
android:title="@string/video_buffer_disk_settings" />
|
android:key="@string/quality_pref_key"
|
||||||
|
android:title="@string/watch_quality_pref" />
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:icon="@drawable/ic_baseline_storage_24"
|
android:icon="@drawable/netflix_play"
|
||||||
android:key="@string/video_buffer_size_key"
|
android:key="@string/player_pref_key"
|
||||||
android:summary="@string/video_ram_description"
|
android:title="@string/player_pref" />
|
||||||
android:title="@string/video_buffer_size_settings" />
|
</PreferenceCategory>
|
||||||
|
|
||||||
<Preference
|
<PreferenceCategory
|
||||||
android:icon="@drawable/ic_baseline_storage_24"
|
android:title="@string/pref_category_player_layout">
|
||||||
android:key="@string/video_buffer_length_key"
|
<Preference
|
||||||
android:summary="@string/video_ram_description"
|
android:icon="@drawable/ic_baseline_text_format_24"
|
||||||
android:title="@string/video_buffer_length_settings" />
|
android:key="@string/prefer_limit_title_key"
|
||||||
|
android:title="@string/limit_title" />
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:icon="@drawable/ic_baseline_delete_outline_24"
|
android:icon="@drawable/ic_baseline_text_format_24"
|
||||||
android:key="@string/video_buffer_clear_key"
|
android:key="@string/prefer_limit_title_rez_key"
|
||||||
android:title="@string/video_buffer_clear_settings" />
|
android:title="@string/limit_title_rez" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_subtitles">
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_outline_subtitles_24"
|
||||||
|
android:key="@string/subtitle_settings_key"
|
||||||
|
android:title="@string/player_subtitles_settings"
|
||||||
|
app:summary="@string/player_subtitles_settings_des" />
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_outline_subtitles_24"
|
||||||
|
android:key="@string/subtitle_settings_chromecast_key"
|
||||||
|
android:title="@string/chromecast_subtitles_settings"
|
||||||
|
app:summary="@string/chromecast_subtitles_settings_des" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_player_features">
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_picture_in_picture_alt_24"
|
||||||
|
android:summary="@string/picture_in_picture_des"
|
||||||
|
android:title="@string/picture_in_picture"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/pip_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_aspect_ratio_24"
|
||||||
|
android:summary="@string/player_size_settings_des"
|
||||||
|
android:title="@string/player_size_settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/player_resize_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_speed_24"
|
||||||
|
android:summary="@string/eigengraumode_settings_des"
|
||||||
|
android:title="@string/eigengraumode_settings"
|
||||||
|
app:defaultValue="false"
|
||||||
|
app:key="@string/playback_speed_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_skip_next_24"
|
||||||
|
android:summary="@string/autoplay_next_settings_des"
|
||||||
|
android:title="@string/autoplay_next_settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/autoplay_next_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_skip_next_24"
|
||||||
|
android:title="@string/video_skip_op"
|
||||||
|
app:defaultValue="true"
|
||||||
|
android:summary="@string/enable_skip_op_from_database_des"
|
||||||
|
app:key="@string/enable_skip_op_from_database" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_gestures">
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_ondemand_video_24"
|
||||||
|
android:summary="@string/swipe_to_seek_settings_des"
|
||||||
|
android:title="@string/swipe_to_seek_settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/swipe_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_ondemand_video_24"
|
||||||
|
android:summary="@string/swipe_to_change_settings_des"
|
||||||
|
android:title="@string/swipe_to_change_settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/swipe_vertical_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_touch_app_24"
|
||||||
|
android:summary="@string/double_tap_to_seek_settings_des"
|
||||||
|
android:title="@string/double_tap_to_seek_settings"
|
||||||
|
app:defaultValue="false"
|
||||||
|
app:key="@string/double_tap_enabled_key" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/netflix_pause"
|
||||||
|
android:summary="@string/double_tap_to_pause_settings_des"
|
||||||
|
android:title="@string/double_tap_to_pause_settings"
|
||||||
|
app:defaultValue="false"
|
||||||
|
app:key="@string/double_tap_pause_enabled_key" />
|
||||||
|
|
||||||
|
<SeekBarPreference
|
||||||
|
android:defaultValue="10"
|
||||||
|
android:max="60"
|
||||||
|
android:title="@string/double_tap_to_seek_amount_settings"
|
||||||
|
app:adjustable="true"
|
||||||
|
app:defaultValue="10"
|
||||||
|
app:icon="@drawable/go_forward_30"
|
||||||
|
app:key="@string/double_tap_seek_time_key"
|
||||||
|
app:min="5"
|
||||||
|
app:seekBarIncrement="5"
|
||||||
|
app:showSeekBarValue="true" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_cache">
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_storage_24"
|
||||||
|
android:key="@string/video_buffer_disk_key"
|
||||||
|
android:summary="@string/video_disk_description"
|
||||||
|
android:title="@string/video_buffer_disk_settings" />
|
||||||
|
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_storage_24"
|
||||||
|
android:key="@string/video_buffer_size_key"
|
||||||
|
android:summary="@string/video_ram_description"
|
||||||
|
android:title="@string/video_buffer_size_settings" />
|
||||||
|
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_storage_24"
|
||||||
|
android:key="@string/video_buffer_length_key"
|
||||||
|
android:summary="@string/video_ram_description"
|
||||||
|
android:title="@string/video_buffer_length_settings" />
|
||||||
|
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_delete_outline_24"
|
||||||
|
android:key="@string/video_buffer_clear_key"
|
||||||
|
android:title="@string/video_buffer_clear_settings" />
|
||||||
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
|
@ -1,39 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<Preference
|
|
||||||
android:title="@string/check_for_update"
|
|
||||||
app:icon="@drawable/ic_baseline_system_update_24"
|
|
||||||
app:key="@string/manual_check_update_key"
|
|
||||||
app:summary="@string/app_version" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/ic_baseline_developer_mode_24"
|
|
||||||
android:summary="@string/uprereleases_settings_des"
|
|
||||||
android:title="@string/uprereleases_settings"
|
|
||||||
app:defaultValue="@bool/is_prerelease"
|
|
||||||
app:key="@string/prerelease_update_key" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/netflix_download"
|
|
||||||
android:key="@string/apk_installer_key"
|
|
||||||
android:title="@string/apk_installer_settings"
|
|
||||||
android:summary="@string/apk_installer_settings_des"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/baseline_save_as_24"
|
|
||||||
android:key="@string/backup_key"
|
|
||||||
android:title="@string/backup_settings" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/baseline_restore_page_24"
|
|
||||||
android:key="@string/restore_key"
|
|
||||||
android:title="@string/restore_settings" />
|
|
||||||
|
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/baseline_description_24"
|
|
||||||
android:key="@string/show_logcat_key"
|
|
||||||
android:title="@string/show_log_cat" />
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:icon="@drawable/ic_baseline_bug_report_24"
|
android:icon="@drawable/ic_baseline_bug_report_24"
|
||||||
|
@ -41,25 +8,73 @@
|
||||||
android:summaryOff="@string/bug_report_settings_off"
|
android:summaryOff="@string/bug_report_settings_off"
|
||||||
android:summaryOn="@string/bug_report_settings_on"
|
android:summaryOn="@string/bug_report_settings_on"
|
||||||
android:title="@string/pref_disable_acra" />
|
android:title="@string/pref_disable_acra" />
|
||||||
<SwitchPreference
|
|
||||||
android:defaultValue="true"
|
<PreferenceCategory
|
||||||
android:icon="@drawable/ic_baseline_extension_24"
|
android:title="@string/pref_category_app_updates">
|
||||||
android:key="@string/auto_update_plugins_key"
|
<Preference
|
||||||
android:title="@string/automatic_plugin_updates" />
|
android:title="@string/check_for_update"
|
||||||
<SwitchPreference
|
app:icon="@drawable/ic_baseline_system_update_24"
|
||||||
android:defaultValue="false"
|
app:key="@string/manual_check_update_key"
|
||||||
android:icon="@drawable/ic_baseline_extension_24"
|
app:summary="@string/app_version" />
|
||||||
android:key="@string/auto_download_plugins_key"
|
<SwitchPreference
|
||||||
android:title="@string/automatic_plugin_download"
|
android:icon="@drawable/ic_baseline_developer_mode_24"
|
||||||
android:summary="@string/automatic_plugin_download_summary" />
|
android:summary="@string/uprereleases_settings_des"
|
||||||
<SwitchPreference
|
android:title="@string/uprereleases_settings"
|
||||||
android:icon="@drawable/ic_baseline_notifications_active_24"
|
app:defaultValue="@bool/is_prerelease"
|
||||||
android:summary="@string/updates_settings_des"
|
app:key="@string/prerelease_update_key" />
|
||||||
android:title="@string/updates_settings"
|
|
||||||
app:defaultValue="true"
|
<Preference
|
||||||
app:key="@string/auto_update_key" />
|
android:icon="@drawable/netflix_download"
|
||||||
<Preference
|
android:key="@string/apk_installer_key"
|
||||||
android:icon="@drawable/ic_baseline_construction_24"
|
android:title="@string/apk_installer_settings"
|
||||||
android:title="Redo setup process"
|
android:summary="@string/apk_installer_settings_des"
|
||||||
app:key="@string/redo_setup_key" />
|
/>
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_notifications_active_24"
|
||||||
|
android:summary="@string/updates_settings_des"
|
||||||
|
android:title="@string/updates_settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:key="@string/auto_update_key" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_backup">
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/baseline_save_as_24"
|
||||||
|
android:key="@string/backup_key"
|
||||||
|
android:title="@string/backup_settings" />
|
||||||
|
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/baseline_restore_page_24"
|
||||||
|
android:key="@string/restore_key"
|
||||||
|
android:title="@string/restore_settings" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_extensions">
|
||||||
|
<SwitchPreference
|
||||||
|
android:defaultValue="true"
|
||||||
|
android:icon="@drawable/ic_baseline_extension_24"
|
||||||
|
android:key="@string/auto_update_plugins_key"
|
||||||
|
android:title="@string/automatic_plugin_updates" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:icon="@drawable/ic_baseline_extension_24"
|
||||||
|
android:key="@string/auto_download_plugins_key"
|
||||||
|
android:title="@string/automatic_plugin_download"
|
||||||
|
android:summary="@string/automatic_plugin_download_summary" />
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/pref_category_actions">
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/baseline_description_24"
|
||||||
|
android:key="@string/show_logcat_key"
|
||||||
|
android:title="@string/show_log_cat" />
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_construction_24"
|
||||||
|
android:title="@string/redo_setup_process"
|
||||||
|
app:key="@string/redo_setup_key" />
|
||||||
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
|
@ -29,33 +29,39 @@
|
||||||
android:icon="@drawable/ic_baseline_warning_24" />
|
android:icon="@drawable/ic_baseline_warning_24" />
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:title="@string/github"
|
android:key="@string/benene_count"
|
||||||
android:icon="@drawable/ic_github_logo"
|
android:title="@string/benene"
|
||||||
app:summary="https://github.com/recloudstream/cloudstream">
|
android:icon="@drawable/benene"
|
||||||
<intent
|
app:summary="@string/benene_des" />
|
||||||
android:action="android.intent.action.VIEW"
|
|
||||||
android:data="https://github.com/recloudstream/cloudstream" />
|
|
||||||
</Preference>
|
|
||||||
|
|
||||||
<Preference
|
<PreferenceCategory
|
||||||
android:title="@string/lightnovel"
|
android:title="@string/pref_category_links">
|
||||||
android:icon="@drawable/quick_novel_icon"
|
|
||||||
app:summary="https://github.com/LagradOst/QuickNovel">
|
<Preference
|
||||||
<intent
|
android:title="@string/github"
|
||||||
android:action="android.intent.action.VIEW"
|
android:icon="@drawable/ic_github_logo"
|
||||||
android:data="https://github.com/LagradOst/QuickNovel" />
|
app:summary="https://github.com/recloudstream/cloudstream">
|
||||||
</Preference>
|
<intent
|
||||||
<Preference
|
android:action="android.intent.action.VIEW"
|
||||||
android:title="@string/discord"
|
android:data="https://github.com/recloudstream/cloudstream" />
|
||||||
android:icon="@drawable/ic_baseline_discord_24"
|
</Preference>
|
||||||
app:summary="https://discord.gg/5Hus6fM">
|
|
||||||
<intent
|
<Preference
|
||||||
android:action="android.intent.action.VIEW"
|
android:title="@string/lightnovel"
|
||||||
android:data="https://discord.gg/5Hus6fM" />
|
android:icon="@drawable/quick_novel_icon"
|
||||||
</Preference>
|
app:summary="https://github.com/LagradOst/QuickNovel">
|
||||||
<Preference
|
<intent
|
||||||
android:key="@string/benene_count"
|
android:action="android.intent.action.VIEW"
|
||||||
android:title="@string/benene"
|
android:data="https://github.com/LagradOst/QuickNovel" />
|
||||||
android:icon="@drawable/benene"
|
</Preference>
|
||||||
app:summary="@string/benene_des" />
|
<Preference
|
||||||
|
android:title="@string/discord"
|
||||||
|
android:icon="@drawable/ic_baseline_discord_24"
|
||||||
|
app:summary="https://discord.gg/5Hus6fM">
|
||||||
|
<intent
|
||||||
|
android:action="android.intent.action.VIEW"
|
||||||
|
android:data="https://discord.gg/5Hus6fM" />
|
||||||
|
</Preference>
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
|
@ -1,57 +1,65 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_baseline_color_lens_24"
|
<PreferenceCategory
|
||||||
android:key="@string/primary_color_key"
|
android:title="@string/pref_category_looks">
|
||||||
android:title="@string/primary_color_settings" />
|
<Preference
|
||||||
<Preference
|
android:icon="@drawable/ic_baseline_color_lens_24"
|
||||||
android:icon="@drawable/ic_baseline_color_lens_24"
|
android:key="@string/primary_color_key"
|
||||||
android:key="@string/app_theme_key"
|
android:title="@string/primary_color_settings" />
|
||||||
android:title="@string/app_theme_settings" />
|
<Preference
|
||||||
<Preference
|
android:icon="@drawable/ic_baseline_color_lens_24"
|
||||||
android:icon="@drawable/ic_baseline_tv_24"
|
android:key="@string/app_theme_key"
|
||||||
android:key="@string/app_layout_key"
|
android:title="@string/app_theme_settings" />
|
||||||
android:title="@string/app_layout" />
|
<Preference
|
||||||
<Preference
|
android:icon="@drawable/ic_baseline_tv_24"
|
||||||
android:icon="@drawable/ic_baseline_tv_24"
|
android:key="@string/app_layout_key"
|
||||||
android:key="@string/poster_ui_key"
|
android:title="@string/app_layout" />
|
||||||
android:title="@string/poster_ui_settings" />
|
<SwitchPreference
|
||||||
<SwitchPreference
|
|
||||||
android:icon="@drawable/search_icon"
|
|
||||||
app:key="advanced_search"
|
|
||||||
android:title="@string/advanced_search"
|
|
||||||
android:summary="@string/advanced_search_des"
|
|
||||||
app:defaultValue="true" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:defaultValue="true"
|
android:defaultValue="true"
|
||||||
android:icon="@drawable/baseline_grid_view_24"
|
android:icon="@drawable/baseline_grid_view_24"
|
||||||
android:key="@string/bottom_title_key"
|
android:key="@string/bottom_title_key"
|
||||||
android:summary="@string/bottom_title_settings_des"
|
android:summary="@string/bottom_title_settings_des"
|
||||||
android:title="@string/bottom_title_settings" />
|
android:title="@string/bottom_title_settings" />
|
||||||
<SwitchPreference
|
</PreferenceCategory>
|
||||||
android:key="@string/show_trailers_key"
|
|
||||||
android:icon="@drawable/baseline_theaters_24"
|
<PreferenceCategory
|
||||||
android:title="@string/show_trailers_settings"
|
android:title="@string/pref_category_ui_features">
|
||||||
android:defaultValue="true" />
|
<Preference
|
||||||
<SwitchPreference
|
android:icon="@drawable/ic_baseline_tv_24"
|
||||||
android:key="@string/show_kitsu_posters_key"
|
android:key="@string/poster_ui_key"
|
||||||
android:icon="@drawable/kitsu_icon"
|
android:title="@string/poster_ui_settings" />
|
||||||
android:title="@string/kitsu_settings"
|
<SwitchPreference
|
||||||
android:defaultValue="true" />
|
android:icon="@drawable/search_icon"
|
||||||
<SwitchPreference
|
app:key="advanced_search"
|
||||||
android:key="@string/show_fillers_key"
|
android:title="@string/advanced_search"
|
||||||
android:icon="@drawable/ic_baseline_skip_next_24"
|
android:summary="@string/advanced_search_des"
|
||||||
android:title="@string/show_fillers_settings"
|
app:defaultValue="true" />
|
||||||
android:defaultValue="false" />
|
<SwitchPreference
|
||||||
<SwitchPreference
|
android:key="@string/show_trailers_key"
|
||||||
android:icon="@drawable/ic_baseline_play_arrow_24"
|
android:icon="@drawable/baseline_theaters_24"
|
||||||
app:key="@string/random_button_key"
|
android:title="@string/show_trailers_settings"
|
||||||
android:title="@string/random_button_settings"
|
android:defaultValue="true" />
|
||||||
android:summary="@string/random_button_settings_desc"
|
<SwitchPreference
|
||||||
app:defaultValue="false" />
|
android:key="@string/show_kitsu_posters_key"
|
||||||
<Preference
|
android:icon="@drawable/kitsu_icon"
|
||||||
android:icon="@drawable/ic_baseline_filter_list_24"
|
android:title="@string/kitsu_settings"
|
||||||
android:key="@string/pref_filter_search_quality_key"
|
android:defaultValue="true" />
|
||||||
android:title="@string/pref_filter_search_quality" />
|
<SwitchPreference
|
||||||
|
android:key="@string/show_fillers_key"
|
||||||
|
android:icon="@drawable/ic_baseline_skip_next_24"
|
||||||
|
android:title="@string/show_fillers_settings"
|
||||||
|
android:defaultValue="false" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:icon="@drawable/ic_baseline_play_arrow_24"
|
||||||
|
app:key="@string/random_button_key"
|
||||||
|
android:title="@string/random_button_settings"
|
||||||
|
android:summary="@string/random_button_settings_desc"
|
||||||
|
app:defaultValue="false" />
|
||||||
|
<Preference
|
||||||
|
android:icon="@drawable/ic_baseline_filter_list_24"
|
||||||
|
android:key="@string/pref_filter_search_quality_key"
|
||||||
|
android:title="@string/pref_filter_search_quality" />
|
||||||
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
Loading…
Reference in a new issue