|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:key="@string/preferences_file_key">
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/pref_title_appearance_settings">
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="night"
|
|
|
|
android:entries="@array/app_theme_names"
|
|
|
|
android:entryValues="@array/app_theme_values"
|
|
|
|
android:key="appTheme"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/pref_title_app_theme" />
|
|
|
|
|
|
|
|
<com.keylesspalace.tusky.EmojiPreference
|
|
|
|
android:defaultValue="@string/system_default"
|
|
|
|
android:icon="@drawable/ic_emoji_24dp"
|
|
|
|
android:key="emojiCompat"
|
|
|
|
android:summary="@string/system_default"
|
|
|
|
android:title="@string/emoji_style" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="default"
|
|
|
|
android:entries="@array/language_entries"
|
|
|
|
android:entryValues="@array/language_values"
|
|
|
|
android:key="language"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/pref_title_language" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="medium"
|
|
|
|
android:entries="@array/status_text_size_names"
|
|
|
|
android:entryValues="@array/status_text_size_values"
|
|
|
|
android:key="statusTextSize"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/pref_status_text_size" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="fabHide"
|
|
|
|
android:title="@string/pref_title_hide_follow_button"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="absoluteTimeView"
|
|
|
|
android:title="@string/pref_title_absolute_time"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="showBotOverlay"
|
|
|
|
android:title="@string/pref_title_bot_overlay"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="animateGifAvatars"
|
|
|
|
android:title="@string/pref_title_animate_gif_avatars"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="useBlurhash"
|
|
|
|
android:title="@string/gradient_for_media"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="showNotificationsFilter"
|
|
|
|
android:title="@string/pref_title_show_notifications_filter"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/pref_title_browser_settings">
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="customTabs"
|
|
|
|
android:title="@string/pref_title_custom_tabs"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/pref_title_status_filter">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="timelineFilterPreferences"
|
|
|
|
android:title="@string/pref_title_status_tabs" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/pref_title_proxy_settings">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="httpProxyPreferences"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/pref_title_http_proxy_settings" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</androidx.preference.PreferenceScreen>
|