res/layout/preferences.xml
changeset 945 89f1be755b8d
parent 885 193a934390ba
child 946 7caab0161cf9
--- a/res/layout/preferences.xml	Sun May 06 12:28:38 2012 +0200
+++ b/res/layout/preferences.xml	Mon Jul 16 11:43:10 2012 +0200
@@ -70,12 +70,19 @@
 		<PreferenceScreen
 			android:title="@string/notification_preferences">
 			<CheckBoxPreference
+				android:title="@string/notification_enable"
+				android:defaultValue="false"
+				android:summary="@string/notification_enable_sum"
+				android:key="notification_enable" />
+			<CheckBoxPreference
 				android:title="@string/notification_enable_vibrate_title"
+				android:dependency="notification_enable"
 				android:defaultValue="false"
 				android:summary="@string/notification_enable_vibrate_sum"
 				android:key="notification_vibrate" />
 			<RingtonePreference
 				android:title="@string/notification_snd_title"
+				android:dependency="notification_enable"
 				android:key="notification_sound"
 				android:summary="@string/notification_snd_sum"
 				android:ringtoneType="notification"