2020-07-17 16:35:39 +02:00
|
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/ui">
|
|
|
|
|
2021-11-09 11:12:09 +01:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="dark_green"
|
|
|
|
android:entries="@array/themes_entries"
|
|
|
|
android:entryValues="@array/themes_values"
|
|
|
|
android:key="theme"
|
|
|
|
android:title="@string/theme"
|
|
|
|
android:summary="@string/theme_summary"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:icon="@drawable/icon_palette"/>
|
|
|
|
|
2021-04-05 12:42:35 +02:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:title="@string/auto_fit_title"
|
|
|
|
android:summary="@string/auto_fit_summary"
|
|
|
|
android:key="autoFit"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/icon_screen_rotation"/>
|
|
|
|
|
2021-12-15 09:13:30 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:title="@string/legacy_mod_title"
|
|
|
|
android:summary="@string/legacy_mod_summary"
|
|
|
|
android:key="legacyMod"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/icon_mod"/>
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/explorer">
|
|
|
|
|
2021-11-09 11:12:09 +01:00
|
|
|
<ListPreference
|
2020-07-17 16:35:39 +02:00
|
|
|
app:defaultValue="name"
|
|
|
|
app:entries="@array/sort_orders_entries"
|
|
|
|
app:entryValues="@array/sort_orders_values"
|
|
|
|
app:key="sort_order"
|
|
|
|
android:title="@string/settings_title_sort_order"
|
2020-07-27 16:20:52 +02:00
|
|
|
android:icon="@drawable/icon_sort"/>
|
2020-07-17 16:35:39 +02:00
|
|
|
|
2021-04-04 12:31:49 +02:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:icon="@drawable/icon_folder"
|
|
|
|
android:key="folders_first"
|
|
|
|
android:title="@string/folders_first"
|
|
|
|
android:summary="@string/folders_first_summary"/>
|
|
|
|
|
2021-11-11 15:05:33 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:icon="@drawable/icon_image"
|
|
|
|
android:key="thumbnails"
|
|
|
|
android:title="@string/thumbnails"
|
|
|
|
android:summary="@string/thumbnails_summary"/>
|
|
|
|
|
2022-03-23 16:35:13 +01:00
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/icon_image_crossed_out"
|
|
|
|
android:key="thumbnail_max_size"
|
|
|
|
android:title="@string/thumbnail_max_size"/>
|
|
|
|
|
2021-07-10 12:02:56 +02:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:icon="@drawable/icon_folder_search"
|
|
|
|
android:key="map_folders"
|
|
|
|
android:title="@string/map_folders"
|
|
|
|
android:summary="@string/map_folders_summary"/>
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/unsafe_features">
|
2020-08-01 15:39:00 +02:00
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
<Preference
|
|
|
|
android:title="@string/manage_unsafe_features"
|
|
|
|
android:summary="@string/manage_unsafe_features_summary"
|
|
|
|
android:icon="@drawable/icon_warning"
|
|
|
|
android:fragment="sushi.hardcore.droidfs.SettingsActivity$UnsafeFeaturesSettingsFragment"/>
|
2020-08-01 15:39:00 +02:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/about">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:title="@string/github"
|
|
|
|
android:summary="@string/github_summary"
|
|
|
|
android:icon="@drawable/icon_github">
|
|
|
|
<intent android:action="android.intent.action.VIEW" android:data="https://github.com/hardcore-sushi/DroidFS"/>
|
|
|
|
</Preference>
|
|
|
|
|
2020-12-20 13:49:51 +01:00
|
|
|
<Preference
|
|
|
|
android:title="@string/gitea"
|
|
|
|
android:summary="@string/gitea_summary"
|
|
|
|
android:icon="@drawable/icon_gitea">
|
2021-01-21 13:07:22 +01:00
|
|
|
<intent android:action="android.intent.action.VIEW" android:data="https://forge.chapril.org/hardcoresushi/DroidFS"/>
|
2020-12-20 13:49:51 +01:00
|
|
|
</Preference>
|
|
|
|
|
2020-10-15 18:31:49 +02:00
|
|
|
<Preference
|
|
|
|
android:key="version"
|
|
|
|
android:icon="@drawable/icon_info"
|
|
|
|
android:title="@string/version"
|
|
|
|
android:summary="@string/versionName"/> <!--added by gradle at build time-->
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|