fedilab-Android-App/app/src/main/res/xml/pref_interface.xml

168 lines
5.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_USE_SINGLE_TOPBAR"
app:singleLineTitle="false"
app:summary="@string/set_single_topbar"
app:title="@string/set_single_topbar_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_TIMELINES_IN_A_LIST"
app:singleLineTitle="false"
app:summary="@string/set_timelines_in_a_list"
app:title="@string/set_timelines_in_a_list_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_REMOVE_LEFT_MARGIN"
app:singleLineTitle="false"
app:summary="@string/set_remove_left_margin"
app:title="@string/set_remove_left_margin_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_CONVERSATION_REMOTELY"
app:singleLineTitle="false"
app:summary="@string/set_remote_conversation"
app:title="@string/set_remote_conversation_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_PROFILE_REMOTELY"
app:singleLineTitle="false"
app:summary="@string/set_remote_profile"
app:title="@string/set_remote_profile_title" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_UNFOLLOW_VALIDATION"
app:singleLineTitle="false"
app:summary="@string/set_unfollow_validation"
app:title="@string/set_unfollow_validation_title" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_COUNTERS"
app:singleLineTitle="false"
app:summary="@string/set_display_counters_description"
app:title="@string/set_display_counters" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_COMPACT_ACTION_BUTTON"
app:singleLineTitle="false"
app:summary="@string/set_display_compact_buttons_description"
app:title="@string/set_display_compact_buttons" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_USE_CACHE"
app:singleLineTitle="false"
app:summary="@string/set_use_cache_indication"
app:title="@string/set_use_cache" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_CUSTOM_TABS"
app:singleLineTitle="false"
app:title="@string/custom_tabs" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_CLEAR_CACHE_EXIT"
app:singleLineTitle="false"
app:summary="@string/set_clear_cache_exit_indication"
app:title="@string/set_clear_cache_exit" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_SEND_CRASH_REPORTS"
app:singleLineTitle="false"
app:summary="@string/set_enable_crash_report_indication"
app:title="@string/set_enable_crash_report" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_DISABLE_RELEASE_NOTES_ALERT"
app:singleLineTitle="false"
app:summary="@string/set_disable_release_notes_indication"
app:title="@string/set_disable_release_notes" />
<androidx.preference.SeekBarPreference
android:defaultValue="110"
android:max="180"
app:iconSpaceReserved="false"
app:key="@string/SET_FONT_SCALE_INT"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/text_size" />
<androidx.preference.SeekBarPreference
android:defaultValue="110"
android:max="180"
app:iconSpaceReserved="false"
app:key="@string/SET_FONT_SCALE_ICON_INT"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/icon_size" />
<androidx.preference.SeekBarPreference
android:defaultValue="100"
android:max="1000"
app:iconSpaceReserved="false"
app:key="@string/SET_VIDEO_CACHE"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/set_video_cache" />
<androidx.preference.SeekBarPreference
android:defaultValue="5"
android:max="30"
app:iconSpaceReserved="false"
app:key="@string/SET_NSFW_TIMEOUT"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/set_nsfw_timeout" />
<androidx.preference.SeekBarPreference
android:defaultValue="3"
android:max="30"
app:iconSpaceReserved="false"
app:key="@string/SET_MED_DESC_TIMEOUT"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/set_med_desc_timeout" />
<ListPreference
app:defaultValue="bubbles"
app:dialogTitle="@string/pickup_logo"
app:entries="@array/set_logo_type_value"
app:entryValues="@array/SET_LOGO_TYPE_VALUE"
app:key="@string/SET_LOGO_LAUNCHER"
app:summary="@string/change_logo_description"
app:title="@string/change_logo"
app:useSimpleSummaryProvider="true" />
</PreferenceScreen>