mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
50 lines
1.6 KiB
XML
50 lines
1.6 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/downloads">
|
|
|
|
<ListPreference
|
|
android:defaultValue="downloads"
|
|
android:entries="@array/downloadLocation"
|
|
android:entryValues="@array/downloadLocationValues"
|
|
app:icon="@drawable/ic_download_filled"
|
|
app:key="download_location"
|
|
app:summary="@string/download_directory_summary"
|
|
app:title="@string/download_directory" />
|
|
|
|
<EditTextPreference
|
|
android:defaultValue="LibreTube"
|
|
app:icon="@drawable/ic_folder"
|
|
app:key="download_folder"
|
|
app:summary="@string/download_folder_summary"
|
|
app:title="@string/download_folder" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/share">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_time"
|
|
app:key="share_with_time_code"
|
|
app:title="@string/share_with_time" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/advanced">
|
|
|
|
<SwitchPreferenceCompat
|
|
android:icon="@drawable/ic_data_saver"
|
|
android:summary="@string/data_saver_mode_summary"
|
|
app:key="data_saver_mode"
|
|
app:title="@string/data_saver_mode" />
|
|
|
|
<Preference
|
|
android:icon="@drawable/ic_reset"
|
|
app:key="reset_settings"
|
|
app:title="@string/reset" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |