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">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_font_title"
|
|
|
|
app:icon="@drawable/ic_font_size_24dp"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreferenceFragment" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:key="immersive_interface_entry"
|
|
|
|
app:title="@string/settings_immersive_interface_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.ImmersiveInterfacePreferenceFragment"
|
|
|
|
app:isPreferenceVisible="false" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_customize_tabs_in_main_page_title"
|
|
|
|
app:summary="@string/only_for_logged_in_user"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_customize_bottom_app_bar_title"
|
|
|
|
app:summary="@string/only_for_logged_in_user"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="bottom_app_bar"
|
|
|
|
app:title="@string/settings_enable_bottom_app_bar_title"
|
|
|
|
app:summary="@string/settings_enable_bottom_app_bar_summary" />
|
|
|
|
|
2021-02-26 15:15:39 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="show_avatar_on_the_right_in_the_navigation_drawer"
|
|
|
|
app:title="@string/settings_show_avatar_on_the_right_in_the_navigation_drawer" />
|
|
|
|
|
2021-02-17 14:44:59 +01:00
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_time_format_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="hide_subreddit_description"
|
|
|
|
app:title="@string/settings_hide_subreddit_description_title" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_category_post_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.PostPreferenceFragment" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:title="@string/settings_category_comment_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.settings.CommentPreferenceFragment" />
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/settings_category_post_and_comment_title" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="vote_buttons_on_the_right"
|
|
|
|
app:title="@string/settings_vote_buttons_on_the_right_title" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="true"
|
|
|
|
app:key="show_absolute_number_of_votes"
|
|
|
|
app:title="@string/settings_show_absolute_number_of_votes_title" />
|
|
|
|
|
|
|
|
</PreferenceScreen>
|