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"/>
|
|
|
|
|
2018-03-02 15:56:14 +01:00
|
|
|
<net.gsantner.opoc.preference.nonsupport.LanguagePreference
|
2017-03-05 20:51:56 +01:00
|
|
|
android:icon="@drawable/ic_language_black_48px"
|
|
|
|
android:key="@string/pref_key__language"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/language_change_restart_description"
|
|
|
|
android:title="@string/language"/>
|
2017-03-05 20:51:56 +01:00
|
|
|
|
2016-10-25 17:04:32 +02:00
|
|
|
<ListPreference
|
2018-09-04 17:02:34 +02:00
|
|
|
android:dialogTitle="@string/font_size"
|
2016-10-25 17:04:32 +02:00
|
|
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/control_textsize_of_webview"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/intellihide_toolbars__appspecific"
|
|
|
|
android:title="@string/intellihide_toolbars"/>
|
2017-03-05 20:51:56 +01:00
|
|
|
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/extendend_notifications_bell_description__appspecific"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/append_shared_by_notice__appspecific"
|
|
|
|
android:title="@string/append_shared_by_notice"/>
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/open_external_links_with_chrome_custom_tabs_description"
|
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
|
|
|
|
2017-10-29 17:26:13 +01:00
|
|
|
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/ic_visibility_black_24dp"
|
|
|
|
android:key="@string/pref_key__show_title"
|
|
|
|
android:summary="@string/pref_summary__show_title"
|
|
|
|
android:title="@string/pref_title__show_title"/>
|
|
|
|
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/control_screen_rotation"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/open_diaspora_account_settings__appspecific"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/manage_your_contact_list"
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/unfollow_already_followed_hashtags__appspecific"
|
|
|
|
android:title="@string/manage_hashtags"/>
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/loug_warning_description__appspecific"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/toggle_image_loading_to_save_mobile_data"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/enable_basic_adblocker_description"
|
|
|
|
android:title="@string/block_advertisments"/>
|
2017-06-08 02:33:00 +02:00
|
|
|
|
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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:summary="@string/clear_webview_cache"
|
|
|
|
android:title="@string/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"
|
2018-09-04 17:02:34 +02:00
|
|
|
android:title="@string/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>
|