2016-10-25 17:04:32 +02:00
|
|
|
<?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
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__title__appearance"
|
|
|
|
android:title="@string/pref_cat__visuals">
|
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_color_lens_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__cat_themes"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:summary="@string/pref_desc__themes"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__themes"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_visibility_on_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__cat_nav_slider"
|
|
|
|
android:summary="@string/pref_desc__sub_nav_slider"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__sub_nav_slider"/>
|
|
|
|
|
2017-09-15 19:56:10 +02:00
|
|
|
<net.gsantner.opoc.ui.LanguagePreference
|
2017-03-05 20:51:56 +01:00
|
|
|
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"/>
|
|
|
|
|
2016-10-25 17:04:32 +02:00
|
|
|
<ListPreference
|
|
|
|
android:dialogTitle="@string/pref_title__font_size"
|
|
|
|
android:entries="@array/pref_entries__font_size"
|
|
|
|
android:entryValues="@array/pref_entries_values__font_size"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_format_size_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__font_size"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:summary="@string/pref_desc__font_size"
|
|
|
|
android:title="@string/pref_title__font_size"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-11-10 14:18:22 +01:00
|
|
|
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
|
|
|
|
|
|
|
<!-- Operability -->
|
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
|
|
|
android:title="@string/pref_cat__operability">
|
|
|
|
|
2017-03-05 20:51:56 +01:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
2017-09-11 18:48:58 +02:00
|
|
|
android:defaultValue="false"
|
2017-03-05 20:51:56 +01:00
|
|
|
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
|
2016-10-25 17:04:32 +02:00
|
|
|
android:defaultValue="false"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_notifications_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__extended_notifications"
|
|
|
|
android:summary="@string/pref_desc__extended_notifications"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__extended_notifications"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-10-26 16:23:14 +02:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
2016-10-25 17:04:32 +02:00
|
|
|
android:defaultValue="true"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_thumb_up_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__append_shared_via_app"
|
|
|
|
android:summary="@string/pref_desc__append_shared_via_app"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__append_shared_via_app"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-10-26 16:23:14 +02:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
2016-10-25 17:04:32 +02:00
|
|
|
android:defaultValue="true"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_open_in_new_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__chrome_custom_tabs_enabled"
|
|
|
|
android:summary="@string/pref_desc__chrome_custom_tabs_enabled"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__chrome_custom_tabs_enabled"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-11-10 14:18:22 +01:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_touch_app_black_24px"
|
2016-11-10 14:18:22 +01:00
|
|
|
android:key="@string/pref_key__topbar_stream_shortcut"
|
|
|
|
android:summary="@string/pref_desc__topbar_stream_shortcut"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__topbar_stream_shortcut"/>
|
2016-11-10 14:18:22 +01:00
|
|
|
|
2016-11-12 15:36:56 +01:00
|
|
|
<ListPreference
|
2016-12-16 04:45:53 +01:00
|
|
|
android:defaultValue="@string/rotation_val_system"
|
2016-11-12 15:36:56 +01:00
|
|
|
android:entries="@array/pref_entries__screen_rotation"
|
|
|
|
android:entryValues="@array/pref_entries_values__screen_rotation"
|
2017-03-05 20:51:56 +01:00
|
|
|
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-11-12 15:36:56 +01:00
|
|
|
|
2016-10-26 16:23:14 +02:00
|
|
|
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<!-- Diaspora Pod Settings -->
|
2016-10-26 16:23:14 +02:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__title__pod_settings"
|
|
|
|
android:title="@string/pref_cat__pod_settings">
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_person_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__personal_settings"
|
|
|
|
android:summary="@string/pref_desc__personal_settings"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__personal_settings"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_people_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__manage_contacts"
|
|
|
|
android:summary="@string/pref_desc__manage_contacts"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__manage_contacts"/>
|
|
|
|
|
2016-10-28 00:18:44 +02:00
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_format_list_bulleted_black_24px"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:key="@string/pref_key__manage_tags"
|
|
|
|
android:summary="@string/pref_desc__manage_tags"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__manage_tags"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_arrow_back_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__change_account"
|
|
|
|
android:summary="@string/pref_desc__change_account"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__change_account"/>
|
2016-10-26 16:23:14 +02:00
|
|
|
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<!-- Networking -->
|
2016-10-26 16:23:14 +02:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
2016-10-25 17:04:32 +02:00
|
|
|
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
|
2016-10-25 17:04:32 +02:00
|
|
|
android:defaultValue="true"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_file_download_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__load_images"
|
|
|
|
android:summary="@string/pref_desc__load_images"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__load_images"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2017-06-08 02:33:00 +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__adblock_enable"
|
|
|
|
android:summary="@string/pref_desc__adblock_enable"
|
|
|
|
android:title="@string/pref_title__adblock_enable"/>
|
|
|
|
|
2016-10-25 17:04:32 +02:00
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_clear_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__clear_cache"
|
|
|
|
android:summary="@string/pref_desc__clear_cache"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__clear_cache"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_vpn_lock_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__cat_proxy"
|
|
|
|
android:summary="@string/pref_desc__sub_proxy"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__sub_proxy"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-10-26 16:23:14 +02:00
|
|
|
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<!-- More -->
|
2016-10-26 16:23:14 +02:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__title__more"
|
|
|
|
android:title="@string/pref_cat__more">
|
|
|
|
|
|
|
|
<Preference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_bug_report_black_24px"
|
2016-10-25 17:04:32 +02:00
|
|
|
android:key="@string/pref_key__cat_debugging"
|
|
|
|
android:summary="@string/pref_desc__sub_logging"
|
2017-03-05 20:51:56 +01:00
|
|
|
android:title="@string/pref_title__sub_logging"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
2016-10-26 16:23:14 +02:00
|
|
|
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
2016-10-25 17:04:32 +02:00
|
|
|
</PreferenceScreen>
|