LibreTube/app/src/main/res/xml/general_settings.xml

71 lines
2.3 KiB
XML
Raw Normal View History

2022-07-21 01:33:09 +05:30
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory app:title="@string/location">
<ListPreference
android:icon="@drawable/ic_region"
app:defaultValue="sys"
app:entries="@array/regions"
app:entryValues="@array/regionsValue"
app:key="region"
app:title="@string/region"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_translate"
app:defaultValue="sys"
app:entries="@array/languages"
app:entryValues="@array/languagesValue"
app:key="language"
app:title="@string/changeLanguage"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/customization">
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_screen_rotation"
app:key="auto_rotation"
app:title="@string/auto_rotation" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:icon="@drawable/ic_list"
app:key="related_streams_toggle"
app:summary="@string/related_streams_summary"
app:title="@string/related_streams" />
</PreferenceCategory>
2022-07-24 01:31:37 +05:30
<PreferenceCategory app:title="@string/behavior">
2022-09-20 22:06:23 +05:30
<Preference
2022-07-24 01:31:37 +05:30
android:icon="@drawable/ic_home"
2022-09-20 22:06:23 +05:30
app:key="nav_bar_items"
app:title="@string/navigation_bar" />
2022-07-24 01:31:37 +05:30
</PreferenceCategory>
2022-08-10 20:30:48 +05:30
<PreferenceCategory app:title="@string/misc">
2022-08-23 19:21:00 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_notification"
app:key="break_reminder_toggle"
app:title="@string/break_reminder" />
<EditTextPreference
android:enabled="false"
2022-08-10 20:30:48 +05:30
android:icon="@drawable/ic_time"
2022-08-23 19:21:00 +05:30
app:defaultValue="60"
2022-08-10 20:30:48 +05:30
app:key="break_reminder"
2022-08-23 19:21:00 +05:30
app:title="@string/break_reminder_time"
2022-08-10 20:30:48 +05:30
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
2022-07-21 01:33:09 +05:30
</PreferenceScreen>