mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 19:47:35 +00:00
Reorganize preference widgets
// FREEBIE
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.ProfilePreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.ProfilePreference
|
||||
android:key="preference_category_profile"/>
|
||||
|
||||
<Preference android:key="preference_category_sms_mms"
|
||||
|
@@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_theme"
|
||||
android:title="@string/preferences__theme"
|
||||
android:entries="@array/pref_theme_entries"
|
||||
android:entryValues="@array/pref_theme_values"
|
||||
android:defaultValue="light">
|
||||
</org.thoughtcrime.securesms.preferences.SignalListPreference>
|
||||
</org.thoughtcrime.securesms.preferences.widgets.SignalListPreference>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_language"
|
||||
android:title="@string/preferences__language"
|
||||
android:entries="@array/language_entries"
|
||||
|
@@ -30,13 +30,13 @@
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_chats__chats">
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_message_body_text_size"
|
||||
android:title="@string/preferences_chats__message_text_size"
|
||||
android:entries="@array/pref_message_font_size_entries"
|
||||
android:entryValues="@array/pref_message_font_size_values"
|
||||
android:defaultValue="16">
|
||||
</org.thoughtcrime.securesms.preferences.SignalListPreference>
|
||||
</org.thoughtcrime.securesms.preferences.widgets.SignalListPreference>
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
android:title="@string/preferences__notifications"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalRingtonePreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalRingtonePreference
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:key="pref_key_ringtone"
|
||||
android:title="@string/preferences__sound"
|
||||
@@ -22,7 +22,7 @@
|
||||
android:defaultValue="true"
|
||||
android:title="@string/preferences__vibrate"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.LEDColorListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.LEDColorListPreference
|
||||
android:key="pref_led_color"
|
||||
android:defaultValue="blue"
|
||||
android:title="@string/preferences__led_color"
|
||||
@@ -30,7 +30,7 @@
|
||||
android:entries="@array/pref_led_color_entries"
|
||||
android:entryValues="@array/pref_led_color_values" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_led_blink"
|
||||
android:defaultValue="500,2000"
|
||||
android:title="@string/preferences__pref_led_blink_title"
|
||||
@@ -44,7 +44,7 @@
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_repeat_alerts"
|
||||
android:defaultValue="0"
|
||||
android:title="@string/preferences__repeat_alerts"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:entries="@array/pref_repeat_alerts_entries"
|
||||
android:entryValues="@array/pref_repeat_alerts_values" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_notification_privacy"
|
||||
android:title="@string/preferences_notifications__show"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
@@ -60,7 +60,7 @@
|
||||
android:entries="@array/pref_notification_privacy_entries"
|
||||
android:entryValues="@array/pref_notification_privacy_values"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_notification_priority"
|
||||
android:title="@string/preferences_notifications__priority"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
|
@@ -10,7 +10,7 @@
|
||||
android:disableDependentsState="true"
|
||||
android:persistent="false" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalRingtonePreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalRingtonePreference
|
||||
android:dependency="pref_key_recipient_mute"
|
||||
android:key="pref_key_recipient_ringtone"
|
||||
android:title="@string/recipient_preferences__notification_sound"
|
||||
@@ -19,7 +19,7 @@
|
||||
android:showDefault="true"
|
||||
android:persistent="false"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.SignalListPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:dependency="pref_key_recipient_mute"
|
||||
android:key="pref_key_recipient_vibrate"
|
||||
android:title="@string/recipient_preferences__vibrate"
|
||||
@@ -28,7 +28,7 @@
|
||||
android:defaultValue="0"
|
||||
android:persistent="false"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.ColorPickerPreference
|
||||
<org.thoughtcrime.securesms.preferences.widgets.ColorPickerPreference
|
||||
android:key="pref_key_recipient_color"
|
||||
android:title="@string/recipient_preferences__color"
|
||||
android:defaultValue="@android:color/black"
|
||||
|
Reference in New Issue
Block a user