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
|
|
|
|
android:key="@string/pref_key__cat_themes"
|
|
|
|
android:title="@string/pref_title__themes"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:summary="@string/pref_desc__themes"
|
|
|
|
android:icon="@drawable/ic_color_lens_black_24px"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__cat_nav_slider"
|
|
|
|
android:summary="@string/pref_desc__sub_nav_slider"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__sub_nav_slider"
|
|
|
|
android:icon="@drawable/ic_visibility_on_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__font_size"
|
|
|
|
android:summary="%s"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__font_size"
|
|
|
|
android:icon="@drawable/ic_format_size_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__intellihide_toolbars"
|
|
|
|
android:summary="@string/pref_desc__intellihide_toolbars"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__intellihide_toolbars"
|
|
|
|
android:icon="@drawable/ic_zoom_out_map_black_24px"/>
|
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">
|
|
|
|
|
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"
|
|
|
|
android:key="@string/pref_key__extended_notifications"
|
|
|
|
android:summary="@string/pref_desc__extended_notifications"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__extended_notifications"
|
|
|
|
android:icon="@drawable/ic_notifications_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__append_shared_via_app"
|
|
|
|
android:summary="@string/pref_desc__append_shared_via_app"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__append_shared_via_app"
|
|
|
|
android:icon="@drawable/ic_thumb_up_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__chrome_custom_tabs_enabled"
|
|
|
|
android:summary="@string/pref_desc__chrome_custom_tabs_enabled"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__chrome_custom_tabs_enabled"
|
|
|
|
android:icon="@drawable/ic_open_in_new_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__topbar_stream_shortcut"
|
|
|
|
android:summary="@string/pref_desc__topbar_stream_shortcut"
|
|
|
|
android:title="@string/pref_title__topbar_stream_shortcut"
|
|
|
|
android:icon="@drawable/ic_touch_app_black_24px"/>
|
|
|
|
|
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
|
|
|
|
android:key="@string/pref_key__personal_settings"
|
|
|
|
android:summary="@string/pref_desc__personal_settings"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__personal_settings"
|
|
|
|
android:icon="@drawable/ic_person_black_24px"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__manage_contacts"
|
|
|
|
android:summary="@string/pref_desc__manage_contacts"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__manage_contacts"
|
|
|
|
android:icon="@drawable/ic_people_black_24px"/>
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__manage_tags"
|
|
|
|
android:summary="@string/pref_desc__manage_tags"
|
|
|
|
android:title="@string/pref_title__manage_tags"
|
|
|
|
android:icon="@drawable/ic_format_list_bulleted_black_24px"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__change_account"
|
|
|
|
android:summary="@string/pref_desc__change_account"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__change_account"
|
|
|
|
android:icon="@drawable/ic_arrow_back_black_24px"/>
|
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"
|
|
|
|
android:key="@string/pref_key__load_images"
|
|
|
|
android:summary="@string/pref_desc__load_images"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__load_images"
|
|
|
|
android:icon="@drawable/ic_file_download_black_24px"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__clear_cache"
|
|
|
|
android:summary="@string/pref_desc__clear_cache"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__clear_cache"
|
|
|
|
android:icon="@drawable/ic_clear_black_24px"/>
|
2016-10-25 17:04:32 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="@string/pref_key__cat_proxy"
|
|
|
|
android:summary="@string/pref_desc__sub_proxy"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__sub_proxy"
|
|
|
|
android:icon="@drawable/ic_vpn_lock_black_24px"/>
|
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
|
|
|
|
android:key="@string/pref_key__cat_debugging"
|
|
|
|
android:summary="@string/pref_desc__sub_logging"
|
2016-10-28 00:18:44 +02:00
|
|
|
android:title="@string/pref_title__sub_logging"
|
|
|
|
android:icon="@drawable/ic_bug_report_black_24px"/>
|
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>
|