2022-12-30 16:01:51 +01:00
|
|
|
<?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">
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_EXTAND_EXTRA_FEATURES"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:summary="@string/set_extand_extra_features"
|
|
|
|
app:title="@string/set_extand_extra_features_title" />
|
2023-01-22 15:22:59 +01:00
|
|
|
<app.fedilab.android.mastodon.helper.settings.LongSummaryPreferenceCategory
|
2022-12-30 16:01:51 +01:00
|
|
|
app:dependency="@string/SET_EXTAND_EXTRA_FEATURES"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="bottom_icon"
|
|
|
|
app:summary="@string/icons_visibility_summary"
|
|
|
|
app:title="@string/icons_visibility">
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_DISPLAY_BOOKMARK"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/set_display_bookmark_indication" />
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_DISPLAY_TRANSLATE"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/set_display_translate_indication" />
|
2023-01-22 15:22:59 +01:00
|
|
|
</app.fedilab.android.mastodon.helper.settings.LongSummaryPreferenceCategory>
|
2022-12-30 16:01:51 +01:00
|
|
|
|
2022-12-30 17:53:26 +01:00
|
|
|
|
2023-01-22 15:22:59 +01:00
|
|
|
<app.fedilab.android.mastodon.helper.settings.LongSummaryPreferenceCategory
|
2022-12-30 17:53:26 +01:00
|
|
|
app:dependency="@string/SET_EXTAND_EXTRA_FEATURES"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="bottom_icon"
|
|
|
|
app:summary="@string/icons_extra_features_visibility_summary"
|
|
|
|
app:title="@string/icons_extra_features">
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_DISPLAY_QUOTES"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/set_display_quote_indication" />
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_DISPLAY_REACTIONS"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/set_display_reaction_indication" />
|
2023-01-02 17:28:09 +01:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_DISPLAY_LOCAL_ONLY"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/set_display_local_only" />
|
2023-01-22 15:22:59 +01:00
|
|
|
</app.fedilab.android.mastodon.helper.settings.LongSummaryPreferenceCategory>
|
2022-12-30 17:53:26 +01:00
|
|
|
|
2022-12-30 17:40:03 +01:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="text/plain"
|
|
|
|
app:dependency="@string/SET_EXTAND_EXTRA_FEATURES"
|
|
|
|
app:dialogTitle="@string/post_format"
|
|
|
|
app:entries="@array/SET_POST_FORMAT"
|
|
|
|
app:entryValues="@array/SET_POST_FORMAT"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_POST_FORMAT"
|
|
|
|
app:summary="@string/change_logo_description"
|
|
|
|
app:title="@string/set_post_format"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2023-01-02 17:28:09 +01:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="0"
|
|
|
|
app:dependency="@string/SET_EXTAND_EXTRA_FEATURES"
|
|
|
|
app:dialogTitle="@string/local_only"
|
|
|
|
app:entries="@array/set_local_only"
|
|
|
|
app:entryValues="@array/SET_LOCAL_ONLY"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/SET_COMPOSE_LOCAL_ONLY"
|
|
|
|
app:title="@string/local_only"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-12-30 16:01:51 +01:00
|
|
|
</androidx.preference.PreferenceScreen>
|