2021-02-17 14:44:59 +01: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">
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="0"
|
|
|
|
android:entries="@array/settings_default_post_layout"
|
|
|
|
app:entryValues="@array/settings_default_post_layout_values"
|
|
|
|
app:key="default_post_layout"
|
|
|
|
app:title="@string/settings_default_post_layout"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2021-02-23 17:15:37 +01:00
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_number_of_columns_in_post_feed_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_post_type"
|
|
|
|
app:title="@string/settings_hide_post_type" />
|
|
|
|
|
2021-05-15 02:52:23 +02:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_post_flair"
|
|
|
|
app:title="@string/settings_hide_post_flair" />
|
|
|
|
|
2021-02-23 17:15:37 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_the_number_of_awards"
|
|
|
|
app:title="@string/settings_hide_the_number_of_awards" />
|
|
|
|
|
2021-02-24 05:54:45 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_subreddit_and_user_prefix"
|
|
|
|
app:title="@string/settings_hide_subreddit_and_user_prefix" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_the_number_of_votes"
|
|
|
|
app:title="@string/settings_hide_the_number_of_votes" />
|
|
|
|
|
2021-02-24 10:48:47 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_the_number_of_comments"
|
|
|
|
app:title="@string/settings_hide_the_number_of_comments" />
|
|
|
|
|
2021-02-23 17:15:37 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/post_layout_compact" />
|
|
|
|
|
2021-02-17 14:44:59 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="true"
|
|
|
|
app:key="show_divider_in_compact_layout"
|
|
|
|
app:title="@string/settings_show_divider_in_compact_layout" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="show_thumbnail_on_the_left_in_compact_layout"
|
|
|
|
app:title="@string/settings_show_thumbnail_on_the_left_in_compact_layout" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="long_press_to_hide_toolbar_in_compact_layout"
|
|
|
|
app:title="@string/settings_long_press_to_hide_toolbar_in_compact_layout_title" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="post_compact_layout_toolbar_hidden_by_default"
|
|
|
|
app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" />
|
|
|
|
|
2021-02-20 14:44:50 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/post_layout_gallery" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:key="click_to_show_media_in_gallery_layout"
|
|
|
|
app:title="@string/settings_click_to_show_media_in_gallery_layout" />
|
2021-02-17 14:44:59 +01:00
|
|
|
|
|
|
|
</PreferenceScreen>
|