Skip to content

Commit 948f481

Browse files
author
Vladislav Meshochkin
committed
Make notification preferences look normally
1 parent 2dc8937 commit 948f481

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

res/xml/preferences.xml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,20 @@
5454
android:entries="@array/pref_led_blink_pattern_entries"
5555
android:entryValues="@array/pref_led_blink_pattern_values" />
5656

57-
<RingtonePreference android:layout="?android:attr/preferenceLayoutChild"
58-
android:dependency="pref_key_enable_notifications"
57+
<RingtonePreference android:dependency="pref_key_enable_notifications"
5958
android:key="pref_key_ringtone"
6059
android:title="@string/preferences__sound"
6160
android:summary="@string/preferences__change_notification_sound"
6261
android:ringtoneType="notification"
6362
android:defaultValue="content://settings/system/notification_sound" />
6463

6564
<CheckBoxPreference android:key="pref_key_inthread_notifications"
66-
android:title="@string/preferences__inthread_notifications"
67-
android:summary="@string/preferences__play_inthread_notifications"
68-
android:layout="?android:attr/preferenceLayoutChild"
69-
android:dependency="pref_key_enable_notifications"
70-
android:defaultValue="true" />
71-
72-
<CheckBoxPreference android:layout="?android:attr/preferenceLayoutChild"
65+
android:title="@string/preferences__inthread_notifications"
66+
android:summary="@string/preferences__play_inthread_notifications"
7367
android:dependency="pref_key_enable_notifications"
68+
android:defaultValue="true" />
69+
70+
<CheckBoxPreference android:dependency="pref_key_enable_notifications"
7471
android:key="pref_key_vibrate"
7572
android:defaultValue="true"
7673
android:title="@string/preferences__vibrate"
@@ -127,9 +124,9 @@
127124

128125
<PreferenceCategory android:title="@string/preferences__display_settings" android:key="pref_display_category">
129126

130-
<Preference android:key="pref_choose_identity"
131-
android:title="@string/preferences__choose_identity"
132-
android:summary="@string/preferences__choose_your_contact_entry_from_the_contacts_list"/>
127+
<Preference android:key="pref_choose_identity"
128+
android:title="@string/preferences__choose_identity"
129+
android:summary="@string/preferences__choose_your_contact_entry_from_the_contacts_list"/>
133130

134131
</PreferenceCategory>
135132

0 commit comments

Comments
 (0)