mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Reorganize settings.
This commit is contained in:
@@ -24,14 +24,25 @@
|
||||
app:title="@string/settings_enable_bottom_app_bar_title"
|
||||
app:summary="@string/settings_enable_bottom_app_bar_summary" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/settings_category_post_and_comment_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_time_format_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="vote_buttons_on_the_right"
|
||||
app:title="@string/settings_vote_buttons_on_the_right_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_time_format_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" />
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:key="show_absolute_number_of_votes"
|
||||
app:title="@string/settings_show_absolute_number_of_votes_title" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/settings_category_post_title" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="0"
|
||||
@@ -51,6 +62,9 @@
|
||||
app:key="show_thumbnail_on_the_left_in_compact_layout"
|
||||
app:title="@string/settings_show_thumbnail_on_the_left_in_compact_layout" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/settings_category_comment_title" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="show_top_level_comments_first"
|
||||
@@ -76,9 +90,4 @@
|
||||
app:key="fully_collapse_comment"
|
||||
android:title="@string/settings_fully_collapse_comment_title" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:key="show_absolute_number_of_votes"
|
||||
app:title="@string/settings_show_absolute_number_of_votes_title" />
|
||||
|
||||
</PreferenceScreen>
|
@@ -22,23 +22,11 @@
|
||||
app:title="@string/settings_gestures_and_buttons_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:icon="@drawable/ic_link"
|
||||
app:key="open_link_in_app"
|
||||
app:title="@string/settings_open_link_in_app_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settigns_video_title"
|
||||
android:icon="@drawable/ic_outline_video_24dp"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.VideoPreferenceFragment" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="confirm_to_exit"
|
||||
app:icon="@drawable/ic_exit_24dp"
|
||||
app:title="@string/settings_confirm_to_exit" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="2.5"
|
||||
android:entries="@array/settings_lazy_mode_interval"
|
||||
@@ -48,6 +36,18 @@
|
||||
app:title="@string/settings_lazy_mode_interval_title"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:icon="@drawable/ic_link"
|
||||
app:key="open_link_in_app"
|
||||
app:title="@string/settings_open_link_in_app_title" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="confirm_to_exit"
|
||||
app:icon="@drawable/ic_exit_24dp"
|
||||
app:title="@string/settings_confirm_to_exit" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="nsfw"
|
||||
|
Reference in New Issue
Block a user