mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<?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>
|
|
|
|
</PreferenceScreen> |