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

169 lines
6.0 KiB
XML
Raw Normal View History

2022-04-27 15:20:42 +02:00
<?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">
2022-09-12 09:18:42 +02:00
<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" />
2023-07-14 11:11:27 +02:00
<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" />
2023-01-01 18:20:18 +01:00
<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" />
2022-12-29 19:02:15 +01:00
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_UNFOLLOW_VALIDATION"
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:summary="@string/set_unfollow_validation"
app:title="@string/set_unfollow_validation_title" />
2022-10-08 17:46:25 +02:00
<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" />
2022-10-04 10:13:11 +02:00
<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" />
2022-10-04 10:13:11 +02:00
<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" />
2023-02-09 17:23:51 +01:00
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_CUSTOM_TABS"
app:singleLineTitle="false"
app:title="@string/custom_tabs" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_CLEAR_CACHE_EXIT"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:summary="@string/set_clear_cache_exit_indication"
app:title="@string/set_clear_cache_exit" />
<SwitchPreferenceCompat
app:defaultValue="false"
2022-04-27 15:20:42 +02:00
app:iconSpaceReserved="false"
app:key="@string/SET_SEND_CRASH_REPORTS"
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:summary="@string/set_enable_crash_report_indication"
app:title="@string/set_enable_crash_report" />
2023-01-13 18:07:35 +01:00
<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" />
2022-06-20 18:32:12 +02:00
<androidx.preference.SeekBarPreference
android:defaultValue="110"
android:max="180"
app:iconSpaceReserved="false"
app:key="@string/SET_FONT_SCALE_INT"
app:showSeekBarValue="true"
2023-01-23 09:31:32 +01:00
app:singleLineTitle="false"
2022-06-20 18:32:12 +02:00
app:title="@string/text_size" />
2022-10-24 09:55:54 +02:00
<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" />
2022-04-27 15:20:42 +02:00
<androidx.preference.SeekBarPreference
android:defaultValue="100"
android:max="1000"
app:iconSpaceReserved="false"
app:key="@string/SET_VIDEO_CACHE"
app:showSeekBarValue="true"
2023-01-23 09:31:32 +01:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
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"
2023-01-23 09:31:32 +01:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
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"
2023-01-23 09:31:32 +01:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_med_desc_timeout" />
2022-10-27 16:16:58 +02:00
2023-07-29 11:44:13 +02:00
<app.fedilab.android.mastodon.helper.ImageListPreference
2023-07-29 12:34:05 +02:00
app:defaultValue="Bubbles"
2022-10-27 16:16:58 +02:00
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"
2023-07-29 11:44:13 +02:00
app:ilp_entryImages="@array/SET_LOGO_DRAWABLE"
2022-10-27 16:16:58 +02:00
app:useSimpleSummaryProvider="true" />
2022-04-27 15:20:42 +02:00
</PreferenceScreen>