1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-15 17:02:10 +01:00
dandelion/app/src/main/res/xml/preferences__master.xml

167 lines
7.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Appearance -->
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
android:key="@string/pref_key__title__appearance"
android:title="@string/pref_cat__visuals">
<Preference
android:icon="@drawable/ic_color_lens_black_24px"
android:key="@string/pref_key__cat_themes"
android:summary="@string/pref_desc__themes"
android:title="@string/pref_title__themes"/>
<Preference
android:icon="@drawable/ic_visibility_on_black_24px"
android:key="@string/pref_key__cat_nav_slider"
android:summary="@string/pref_desc__sub_nav_slider"
android:title="@string/pref_title__sub_nav_slider"/>
<net.gsantner.opoc.ui.LanguagePreference
android:icon="@drawable/ic_language_black_48px"
android:key="@string/pref_key__language"
android:summary="@string/pref_desc__language"
android:title="@string/pref_title__language"/>
<ListPreference
android:dialogTitle="@string/pref_title__font_size"
android:entries="@array/pref_entries__font_size"
android:entryValues="@array/pref_entries_values__font_size"
android:icon="@drawable/ic_format_size_black_24px"
android:key="@string/pref_key__font_size"
android:summary="@string/pref_desc__font_size"
android:title="@string/pref_title__font_size"/>
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
<!-- Operability -->
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
android:title="@string/pref_cat__operability">
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
2017-09-11 18:48:58 +02:00
android:defaultValue="false"
android:icon="@drawable/ic_zoom_out_map_black_24px"
android:key="@string/pref_key__intellihide_toolbars"
android:summary="@string/pref_desc__intellihide_toolbars"
android:title="@string/pref_title__intellihide_toolbars"/>
2017-09-11 18:48:58 +02:00
<CheckBoxPreference
android:icon="@drawable/ic_visibility_black_24dp"
android:defaultValue="false"
android:key="@string/pref_key__is_overview_statusbar_hidden"
android:summary="@string/pref_summary__is_statusbar_hidden"
android:title="@string/pref_title__is_statusbar_hidden"/>
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="false"
android:icon="@drawable/ic_notifications_black_24px"
android:key="@string/pref_key__extended_notifications"
android:summary="@string/pref_desc__extended_notifications"
android:title="@string/pref_title__extended_notifications"/>
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="true"
android:icon="@drawable/ic_thumb_up_black_24px"
android:key="@string/pref_key__append_shared_via_app"
android:summary="@string/pref_desc__append_shared_via_app"
android:title="@string/pref_title__append_shared_via_app"/>
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="true"
android:icon="@drawable/ic_open_in_new_black_24px"
android:key="@string/pref_key__chrome_custom_tabs_enabled"
android:summary="@string/pref_desc__chrome_custom_tabs_enabled"
android:title="@string/pref_title__chrome_custom_tabs_enabled"/>
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="false"
android:icon="@drawable/ic_touch_app_black_24px"
android:key="@string/pref_key__topbar_stream_shortcut"
android:summary="@string/pref_desc__topbar_stream_shortcut"
android:title="@string/pref_title__topbar_stream_shortcut"/>
<ListPreference
android:defaultValue="@string/rotation_val_system"
android:entries="@array/pref_entries__screen_rotation"
android:entryValues="@array/pref_entries_values__screen_rotation"
android:icon="@drawable/ic_screen_rotation_black_24px"
android:key="@string/pref_key__screen_rotation"
android:summary="@string/pref_desc__screen_rotation"
android:title="@string/pref_title__screen_rotation"/>
2016-10-26 16:23:14 +02:00
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
<!-- Diaspora Pod Settings -->
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
android:key="@string/pref_key__title__pod_settings"
android:title="@string/pref_cat__pod_settings">
<Preference
android:icon="@drawable/ic_person_black_24px"
android:key="@string/pref_key__personal_settings"
android:summary="@string/pref_desc__personal_settings"
android:title="@string/pref_title__personal_settings"/>
<Preference
android:icon="@drawable/ic_people_black_24px"
android:key="@string/pref_key__manage_contacts"
android:summary="@string/pref_desc__manage_contacts"
android:title="@string/pref_title__manage_contacts"/>
<Preference
android:icon="@drawable/ic_format_list_bulleted_black_24px"
android:key="@string/pref_key__manage_tags"
android:summary="@string/pref_desc__manage_tags"
android:title="@string/pref_title__manage_tags"/>
<Preference
android:icon="@drawable/ic_arrow_back_black_24px"
android:key="@string/pref_key__change_account"
android:summary="@string/pref_desc__change_account"
android:title="@string/pref_title__change_account"/>
2016-10-26 16:23:14 +02:00
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
<!-- Networking -->
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
android:key="@string/pref_key__title__network"
android:title="@string/pref_cat__network">
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="true"
android:icon="@drawable/ic_file_download_black_24px"
android:key="@string/pref_key__load_images"
android:summary="@string/pref_desc__load_images"
android:title="@string/pref_title__load_images"/>
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
android:defaultValue="true"
android:icon="@drawable/ic_file_download_black_24px"
android:key="@string/pref_key__adblock_enable"
android:summary="@string/pref_desc__adblock_enable"
android:title="@string/pref_title__adblock_enable"/>
<Preference
android:icon="@drawable/ic_clear_black_24px"
android:key="@string/pref_key__clear_cache"
android:summary="@string/pref_desc__clear_cache"
android:title="@string/pref_title__clear_cache"/>
<Preference
android:icon="@drawable/ic_vpn_lock_black_24px"
android:key="@string/pref_key__cat_proxy"
android:summary="@string/pref_desc__sub_proxy"
android:title="@string/pref_title__sub_proxy"/>
2016-10-26 16:23:14 +02:00
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
<!-- More -->
2016-10-26 16:23:14 +02:00
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
android:key="@string/pref_key__title__more"
android:title="@string/pref_cat__more">
<Preference
android:icon="@drawable/ic_bug_report_black_24px"
android:key="@string/pref_key__cat_debugging"
android:summary="@string/pref_desc__sub_logging"
android:title="@string/pref_title__sub_logging"/>
2016-10-26 16:23:14 +02:00
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
</PreferenceScreen>