Make notification preferences look normally

This commit is contained in:
Vladislav Meshochkin 2014-03-03 19:22:51 +04:00
parent 2dc893730a
commit 948f481530

View File

@ -54,8 +54,7 @@
android:entries="@array/pref_led_blink_pattern_entries" android:entries="@array/pref_led_blink_pattern_entries"
android:entryValues="@array/pref_led_blink_pattern_values" /> android:entryValues="@array/pref_led_blink_pattern_values" />
<RingtonePreference android:layout="?android:attr/preferenceLayoutChild" <RingtonePreference android:dependency="pref_key_enable_notifications"
android:dependency="pref_key_enable_notifications"
android:key="pref_key_ringtone" android:key="pref_key_ringtone"
android:title="@string/preferences__sound" android:title="@string/preferences__sound"
android:summary="@string/preferences__change_notification_sound" android:summary="@string/preferences__change_notification_sound"
@ -65,12 +64,10 @@
<CheckBoxPreference android:key="pref_key_inthread_notifications" <CheckBoxPreference android:key="pref_key_inthread_notifications"
android:title="@string/preferences__inthread_notifications" android:title="@string/preferences__inthread_notifications"
android:summary="@string/preferences__play_inthread_notifications" android:summary="@string/preferences__play_inthread_notifications"
android:layout="?android:attr/preferenceLayoutChild"
android:dependency="pref_key_enable_notifications" android:dependency="pref_key_enable_notifications"
android:defaultValue="true" /> android:defaultValue="true" />
<CheckBoxPreference android:layout="?android:attr/preferenceLayoutChild" <CheckBoxPreference android:dependency="pref_key_enable_notifications"
android:dependency="pref_key_enable_notifications"
android:key="pref_key_vibrate" android:key="pref_key_vibrate"
android:defaultValue="true" android:defaultValue="true"
android:title="@string/preferences__vibrate" android:title="@string/preferences__vibrate"