1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-17 01:42:07 +01:00
dandelion/app/src/main/res/xml/preferences.xml

41 lines
No EOL
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="@string/pref_category_visuals"
android:key="pref_key_category_visuals">
<ListPreference
android:title="@string/pref_title_font_size"
android:key="pref_key_font_size"
android:dialogTitle="@string/pref_title_font_size"
android:summary="%s"
android:entries="@array/pref_entries_font_size"
android:entryValues="@array/pref_entry_values_font_size" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_category_network"
android:key="pref_key_category_network">
<CheckBoxPreference
android:title="@string/pref_title_load_images"
android:key="pref_key_load_images"
android:summary="@string/pref_desc_load_images"
android:defaultValue="true" />
<CheckBoxPreference
android:title="@string/pref_title_proxy_enabled"
android:key="pref_key_proxy_enabled"
android:summary="@string/pref_desc_proxy_enabled"
android:defaultValue="false" />
<EditTextPreference
android:title="@string/pref_title_proxy_host"
android:key="pref_key_proxy_host"
android:dependency="pref_key_proxy_enabled"
android:inputType="textNoSuggestions"/>
<EditTextPreference
android:title="@string/pref_title_proxy_port"
android:key="pref_key_proxy_port"
android:dependency="pref_key_proxy_enabled"
android:inputType="number" />
</PreferenceCategory>
</PreferenceScreen>