summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2015-04-20 04:16:04 +0200
committerMichael Bestas <mikeioannina@gmail.com>2016-12-30 20:15:19 +0200
commit8e31b73112c72393639701e9b7d3d0305631522f (patch)
treeb6fd77cde5bebf7b3d3d0bffee1ff378a5c8f4d1 /res
parent1099eb6d27d234a5c7e6036510ad2701b0ebcd69 (diff)
downloadandroid_packages_apps_Email-8e31b73112c72393639701e9b7d3d0305631522f.tar.gz
android_packages_apps_Email-8e31b73112c72393639701e9b7d3d0305631522f.tar.bz2
android_packages_apps_Email-8e31b73112c72393639701e9b7d3d0305631522f.zip
email: custom notification lights
Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml3
-rwxr-xr-xres/xml/account_settings_preferences.xml6
-rw-r--r--res/xml/mailbox_notifications_preferences.xml6
3 files changed, 15 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 90ee33fab..19c7df868 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -28,4 +28,7 @@
<!-- Name for preference entry which leads to the per-folder notification settings activity -->
<string name="folder_notify_settings_pref_title">Folder notification settings</string>
+
+ <!-- On Settings screen, notification lights pop-up menu label -->
+ <string name="label_notification_lights_title">Lights</string>
</resources>
diff --git a/res/xml/account_settings_preferences.xml b/res/xml/account_settings_preferences.xml
index 676e7f12e..f59857b8c 100755
--- a/res/xml/account_settings_preferences.xml
+++ b/res/xml/account_settings_preferences.xml
@@ -126,6 +126,12 @@
android:defaultValue="false"
android:title="@string/label_notification_vibrate_title" />
+ <com.android.mail.preferences.notifications.FolderNotificationLightPreference
+ android:key="notification-lights"
+ android:dependency="notifications-enabled"
+ android:defaultValue=""
+ android:title="@string/label_notification_lights_title" />
+
</PreferenceCategory>
<PreferenceCategory
diff --git a/res/xml/mailbox_notifications_preferences.xml b/res/xml/mailbox_notifications_preferences.xml
index 76841420c..1b20888db 100644
--- a/res/xml/mailbox_notifications_preferences.xml
+++ b/res/xml/mailbox_notifications_preferences.xml
@@ -33,4 +33,10 @@
android:defaultValue="false"
android:title="@string/label_notification_vibrate_title" />
+ <com.android.mail.preferences.notifications.FolderNotificationLightPreference
+ android:key="notification-lights"
+ android:dependency="notifications-enabled"
+ android:defaultValue=""
+ android:title="@string/label_notification_lights_title" />
+
</PreferenceScreen>