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

249 lines
9.5 KiB
XML
Raw Normal View History

2022-04-27 15:20:42 +02:00
<?xml version="1.0" encoding="utf-8"?>
2022-09-26 17:08:00 +02:00
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
android:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_REMEMBER_POSITION"
app:singleLineTitle="false"
app:title="@string/remember_position" />
2023-02-01 17:56:20 +01:00
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_AUTO_FETCH_MISSING_MESSAGES"
app:singleLineTitle="false"
app:title="@string/auto_fetch_missing" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_EXPAND_CW"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/expand_cw" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_EXPAND_MEDIA"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/expand_image" />
2022-12-20 10:24:03 +01:00
<SwitchPreferenceCompat
android:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_GROUP_REBLOGS"
app:singleLineTitle="false"
app:title="@string/group_reblogs" />
2023-02-14 17:42:27 +01:00
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_CHAT_FOR_CONVERSATION"
app:singleLineTitle="false"
app:title="@string/chat_timeline_for_direct" />
2023-01-13 18:07:35 +01:00
<SwitchPreferenceCompat
android:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_BOOST_ORIGINAL_DATE"
app:singleLineTitle="false"
app:title="@string/boost_original_date" />
2023-02-27 18:37:46 +01:00
<SwitchPreferenceCompat
android:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_TRUNCATE_LINKS"
app:singleLineTitle="false"
app:title="@string/truncate_links" />
<androidx.preference.SeekBarPreference
android:defaultValue="30"
android:max="150"
app:dependency="@string/SET_TRUNCATE_LINKS"
app:iconSpaceReserved="false"
app:key="@string/SET_TRUNCATE_LINKS_MAX"
app:min="20"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/truncate_links_max" />
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_HIDE_SINGLE_MEDIA_WITH_CARD"
app:singleLineTitle="false"
app:title="@string/hide_single_media_with_card" />
<MultiSelectListPreference
2022-10-29 19:03:31 +02:00
app:entries="@array/SET_LIVE_TRANSLATE_VALUES"
app:entryValues="@array/SET_LIVE_TRANSLATE_ENTRIES"
app:iconSpaceReserved="false"
app:key="@string/SET_LIVE_TRANSLATE_MULTIPLE"
2022-10-29 19:03:31 +02:00
app:summary="@string/set_live_translate"
app:title="@string/set_live_translate_title"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="true"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_NOTIF_VALIDATION"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_share_validation" />
<SwitchPreferenceCompat
2022-11-30 17:07:23 +01:00
android:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_BOOKMARK"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
app:title="@string/set_display_bookmark_indication" />
2023-01-06 18:21:41 +01:00
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_PIXELFED_PRESENTATION"
app:singleLineTitle="false"
app:title="@string/set_pixelfed_presentation" />
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_TRANSLATE"
app:singleLineTitle="false"
app:title="@string/set_display_translate_indication" />
2022-12-27 16:50:08 +01:00
<ListPreference
app:defaultValue="FEDILAB"
app:dialogTitle="@string/translator"
app:entries="@array/set_translator_values"
app:entryValues="@array/SET_TRANSLATOR_VALUES"
app:iconSpaceReserved="false"
app:key="@string/SET_TRANSLATOR"
app:title="@string/set_translator"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
app:dependency="@string/SET_TRANSLATOR"
app:iconSpaceReserved="false"
app:key="@string/SET_TRANSLATOR_API_KEY"
app:title="@string/api_key"
app:useSimpleSummaryProvider="true" />
2023-02-14 11:02:04 +01:00
<EditTextPreference
app:defaultValue="lingva.ml"
app:dependency="@string/SET_TRANSLATOR"
app:iconSpaceReserved="false"
app:key="@string/SET_TRANSLATOR_DOMAIN"
app:title="@string/translator_domain"
app:useSimpleSummaryProvider="true" />
2022-12-27 16:50:08 +01:00
<ListPreference
app:defaultValue="PRO"
app:dialogTitle="@string/version"
app:entries="@array/set_translator_version_values"
app:entryValues="@array/SET_TRANSLATOR_VERSION_VALUES"
app:iconSpaceReserved="false"
app:key="@string/SET_TRANSLATOR_VERSION"
app:title="@string/set_translator_version"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_AGGREGATE_NOTIFICATION"
app:singleLineTitle="false"
app:summary="@string/aggregate_notifications_summary"
app:title="@string/aggregate_notifications" />
<androidx.preference.SeekBarPreference
android:defaultValue="5"
android:max="20"
app:iconSpaceReserved="false"
app:key="@string/SET_MAX_INDENTATION"
app:showSeekBarValue="true"
app:singleLineTitle="false"
app:title="@string/max_indentation_thread" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_MEDIA_NOTIFICATION"
app:singleLineTitle="false"
app:summary="@string/display_media_notification_summary"
app:title="@string/display_media_notification" />
2022-10-05 16:05:53 +02:00
<ListPreference
app:defaultValue="ALWAYS"
app:dialogTitle="@string/load_media_type_title"
app:entries="@array/set_load_media_type_value"
app:entryValues="@array/SET_LOAD_MEDIA_TYPE_VALUE"
app:iconSpaceReserved="false"
app:key="@string/SET_LOAD_MEDIA_TYPE"
app:title="@string/load_media_type_title"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_NOTIF_VALIDATION_FAV"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_share_validation_fav" />
<SwitchPreferenceCompat
android:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/SET_DISPLAY_COUNTER_FAV_BOOST"
app:singleLineTitle="false"
app:title="@string/set_display_counter" />
2022-04-27 15:20:42 +02:00
<SeekBarPreference
android:defaultValue="0"
android:max="20"
2022-09-26 17:08:00 +02:00
android:summary="@string/set_truncate_toot"
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_TRUNCATE_TOOTS_SIZE"
2022-09-26 17:08:00 +02:00
app:showSeekBarValue="true"
app:title="@string/truncate_long_toots" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
app:key="@string/SET_LONG_PRESS_STORE_MEDIA"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_long_press_media" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
android:summary="@string/set_fit_preview_indication"
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_FULL_PREVIEW"
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_fit_preview" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_DISABLE_GIF"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_disable_gif" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_DISABLE_ANIMATED_EMOJI"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_disable_animated_emoji" />
<SwitchPreferenceCompat
2022-04-27 15:20:42 +02:00
android:defaultValue="false"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_DISPLAY_CARD"
2022-09-26 17:08:00 +02:00
app:singleLineTitle="false"
2022-04-27 15:20:42 +02:00
app:title="@string/set_display_card" />
<androidx.preference.SeekBarPreference
android:defaultValue="40"
2023-02-27 18:37:46 +01:00
app:min="10"
2022-04-27 15:20:42 +02:00
android:max="80"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_STATUSES_PER_CALL"
2022-09-26 17:08:00 +02:00
app:showSeekBarValue="true"
2022-04-27 15:20:42 +02:00
app:title="@string/set_toots_page" />
<androidx.preference.SeekBarPreference
android:defaultValue="40"
2023-02-27 18:37:46 +01:00
app:min="10"
2022-04-27 15:20:42 +02:00
android:max="80"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_ACCOUNTS_PER_CALL"
2022-09-26 17:08:00 +02:00
app:showSeekBarValue="true"
2022-04-27 15:20:42 +02:00
app:title="@string/set_accounts_page" />
<androidx.preference.SeekBarPreference
android:defaultValue="30"
2023-02-27 18:37:46 +01:00
app:min="10"
2022-04-27 15:20:42 +02:00
android:max="30"
2022-09-26 17:08:00 +02:00
app:iconSpaceReserved="false"
2022-04-27 15:20:42 +02:00
app:key="@string/SET_NOTIFICATIONS_PER_CALL"
2022-09-26 17:08:00 +02:00
app:showSeekBarValue="true"
2022-04-27 15:20:42 +02:00
app:title="@string/set_notifications_page" />
</androidx.preference.PreferenceScreen>