Skip to content
Snippets Groups Projects
Verified Commit b2b264d2 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Properly sort settings again

parent bde4194c
No related merge requests found
Pipeline #552 passed
...@@ -21,14 +21,13 @@ ...@@ -21,14 +21,13 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:robobunny="http://robobunny.com"> xmlns:robobunny="http://robobunny.com">
<PreferenceCategory android:title="@string/preference_appearance_title"> <PreferenceScreen android:layout="@layout/widget_advertisement_support_patreon">
<DropDownPreference <intent
android:defaultValue="NEWLINE" android:action="android.intent.action.VIEW"
android:entries="@array/preference_input_enter_entries" android:data="https://www.patreon.com/justjanne" />
android:entryValues="@array/preference_input_enter_entryvalues" </PreferenceScreen>
android:key="@string/preference_input_enter_key"
android:title="@string/preference_input_enter_title" />
<PreferenceCategory android:title="@string/preference_appearance_title">
<ListPreference <ListPreference
android:defaultValue="MATERIAL_LIGHT" android:defaultValue="MATERIAL_LIGHT"
android:entries="@array/preference_theme_entries" android:entries="@array/preference_theme_entries"
...@@ -36,12 +35,18 @@ ...@@ -36,12 +35,18 @@
android:key="@string/preference_theme_key" android:key="@string/preference_theme_key"
android:title="@string/preference_theme_title" /> android:title="@string/preference_theme_title" />
<ListPreference <DropDownPreference
android:defaultValue="" android:defaultValue="NEWLINE"
android:entries="@array/preference_language_entries" android:entries="@array/preference_input_enter_entries"
android:entryValues="@array/preference_language_entryvalues" android:entryValues="@array/preference_input_enter_entryvalues"
android:key="@string/preference_language_key" android:key="@string/preference_input_enter_key"
android:title="@string/preference_language_title" /> android:title="@string/preference_input_enter_title" />
<SwitchPreference
android:defaultValue="false"
android:key="@string/preference_show_lag_key"
android:summary="@string/preference_show_lag_summary"
android:title="@string/preference_show_lag_title" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
...@@ -49,11 +54,12 @@ ...@@ -49,11 +54,12 @@
android:summary="@string/preference_keep_screen_on_summary" android:summary="@string/preference_keep_screen_on_summary"
android:title="@string/preference_keep_screen_on_title" /> android:title="@string/preference_keep_screen_on_title" />
<SwitchPreference <ListPreference
android:defaultValue="false" android:defaultValue=""
android:key="@string/preference_show_lag_key" android:entries="@array/preference_language_entries"
android:summary="@string/preference_show_lag_summary" android:entryValues="@array/preference_language_entryvalues"
android:title="@string/preference_show_lag_title" /> android:key="@string/preference_language_key"
android:title="@string/preference_language_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:layout="@layout/widget_preference_divider" /> <PreferenceCategory android:layout="@layout/widget_preference_divider" />
...@@ -75,6 +81,7 @@ ...@@ -75,6 +81,7 @@
android:summary="@string/preference_redirection_errors_summary" android:summary="@string/preference_redirection_errors_summary"
android:title="@string/preference_redirection_errors_title" /> android:title="@string/preference_redirection_errors_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:layout="@layout/widget_preference_divider" /> <PreferenceCategory android:layout="@layout/widget_preference_divider" />
<PreferenceCategory android:title="@string/preference_notifications_title"> <PreferenceCategory android:title="@string/preference_notifications_title">
...@@ -97,16 +104,6 @@ ...@@ -97,16 +104,6 @@
android:key="@string/preference_notification_other_key" android:key="@string/preference_notification_other_key"
android:title="@string/preference_notification_other_title" /> android:title="@string/preference_notification_other_title" />
<PreferenceScreen
android:key="@string/preference_notification_configure_key"
android:title="@string/preference_notification_configure_title">
<intent android:action="android.settings.APP_NOTIFICATION_SETTINGS">
<extra
android:name="android.provider.extra.APP_PACKAGE"
android:value="@string/package_name" />
</intent>
</PreferenceScreen>
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
android:key="@string/preference_notification_mark_read_on_swipe_key" android:key="@string/preference_notification_mark_read_on_swipe_key"
...@@ -124,6 +121,14 @@ ...@@ -124,6 +121,14 @@
android:summary="@string/preference_notification_show_all_activities_in_toolbar_summary" android:summary="@string/preference_notification_show_all_activities_in_toolbar_summary"
android:title="@string/preference_notification_show_all_activities_in_toolbar_title" /> android:title="@string/preference_notification_show_all_activities_in_toolbar_title" />
<de.kuschku.quasseldroid.util.ui.settings.RingtonePreference
android:defaultValue="content://settings/system/notification_sound"
android:key="@string/preference_notification_sound_key"
android:title="@string/preference_notification_sound_title"
app:ringtoneType="notification"
app:showDefault="true"
app:showSilent="true" />
<SwitchPreference <SwitchPreference
android:defaultValue="true" android:defaultValue="true"
android:key="@string/preference_notification_vibration_key" android:key="@string/preference_notification_vibration_key"
...@@ -134,38 +139,33 @@ ...@@ -134,38 +139,33 @@
android:key="@string/preference_notification_light_key" android:key="@string/preference_notification_light_key"
android:title="@string/preference_notification_light_title" /> android:title="@string/preference_notification_light_title" />
<de.kuschku.quasseldroid.util.ui.settings.RingtonePreference <PreferenceScreen
android:defaultValue="content://settings/system/notification_sound" android:key="@string/preference_notification_configure_key"
android:key="@string/preference_notification_sound_key" android:title="@string/preference_notification_configure_title">
android:title="@string/preference_notification_sound_title" <intent android:action="android.settings.APP_NOTIFICATION_SETTINGS">
app:ringtoneType="notification" <extra
app:showDefault="true" android:name="android.provider.extra.APP_PACKAGE"
app:showSilent="true" /> android:value="@string/package_name" />
</intent>
</PreferenceScreen>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:layout="@layout/widget_preference_divider" /> <PreferenceCategory android:layout="@layout/widget_preference_divider" />
<PreferenceCategory android:title="@string/preference_messages_title"> <PreferenceCategory android:title="@string/preference_messages_title">
<DropDownPreference
android:defaultValue="ALL_BUT_MINE"
android:entries="@array/preference_colorize_nicknames_entries"
android:entryValues="@array/preference_colorize_nicknames_entryvalues"
android:key="@string/preference_colorize_nicknames_key"
android:title="@string/preference_colorize_nicknames_title" />
<DropDownPreference
android:defaultValue="HIGHEST"
android:entries="@array/preference_show_prefix_entries"
android:entryValues="@array/preference_show_prefix_entryvalues"
android:key="@string/preference_show_prefix_key"
android:title="@string/preference_show_prefix_title" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
android:key="@string/preference_monospace_key" android:key="@string/preference_monospace_key"
android:title="@string/preference_monospace_title" /> android:title="@string/preference_monospace_title" />
<de.kuschku.quasseldroid.util.ui.settings.SeekBarPreference
android:defaultValue="14"
android:key="@string/preference_textsize_key"
android:max="24"
android:title="@string/preference_textsize_title"
robobunny:min="6" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
android:key="@string/preference_show_seconds_key" android:key="@string/preference_show_seconds_key"
...@@ -183,6 +183,20 @@ ...@@ -183,6 +183,20 @@
android:summaryOn="@string/preference_colorize_mirc_summaryon" android:summaryOn="@string/preference_colorize_mirc_summaryon"
android:title="@string/preference_colorize_mirc_title" /> android:title="@string/preference_colorize_mirc_title" />
<DropDownPreference
android:defaultValue="ALL_BUT_MINE"
android:entries="@array/preference_colorize_nicknames_entries"
android:entryValues="@array/preference_colorize_nicknames_entryvalues"
android:key="@string/preference_colorize_nicknames_key"
android:title="@string/preference_colorize_nicknames_title" />
<DropDownPreference
android:defaultValue="HIGHEST"
android:entries="@array/preference_show_prefix_entries"
android:entryValues="@array/preference_show_prefix_entryvalues"
android:key="@string/preference_show_prefix_key"
android:title="@string/preference_show_prefix_title" />
<SwitchPreference <SwitchPreference
android:defaultValue="true" android:defaultValue="true"
android:key="@string/preference_square_avatars_key" android:key="@string/preference_square_avatars_key"
...@@ -234,7 +248,6 @@ ...@@ -234,7 +248,6 @@
android:key="@string/preference_time_at_end_key" android:key="@string/preference_time_at_end_key"
android:summary="@string/preference_time_at_end_summary" android:summary="@string/preference_time_at_end_summary"
android:title="@string/preference_time_at_end_title" /> android:title="@string/preference_time_at_end_title" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
android:dependency="@string/preference_nicks_on_new_line_key" android:dependency="@string/preference_nicks_on_new_line_key"
...@@ -251,12 +264,6 @@ ...@@ -251,12 +264,6 @@
android:key="@string/preference_replace_emoji_key" android:key="@string/preference_replace_emoji_key"
android:summary="@string/preference_replace_emoji_summary" android:summary="@string/preference_replace_emoji_summary"
android:title="@string/preference_replace_emoji_title" /> android:title="@string/preference_replace_emoji_title" />
<de.kuschku.quasseldroid.util.ui.settings.SeekBarPreference
android:defaultValue="14"
android:key="@string/preference_textsize_key"
android:max="24"
android:title="@string/preference_textsize_title"
robobunny:min="6" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:layout="@layout/widget_preference_divider" /> <PreferenceCategory android:layout="@layout/widget_preference_divider" />
...@@ -348,10 +355,4 @@ ...@@ -348,10 +355,4 @@
android:summary="@string/preference_ignore_network_changes_summary" android:summary="@string/preference_ignore_network_changes_summary"
android:title="@string/preference_ignore_network_changes_title" /> android:title="@string/preference_ignore_network_changes_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceScreen android:layout="@layout/widget_advertisement_support_patreon">
<intent
android:action="android.intent.action.VIEW"
android:data="https://www.patreon.com/justjanne" />
</PreferenceScreen>
</PreferenceScreen> </PreferenceScreen>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment