summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorPaul Westbrook <pwestbro@google.com>2013-06-07 17:26:37 -0700
committerPaul Westbrook <pwestbro@google.com>2013-06-07 18:15:13 -0700
commit0a9915394a090e7f2aa95e169a8418f5884e0518 (patch)
treebc7be560874b7f38d9f40946abc7d60da6641a65 /res
parent1b73208b910a370a3b66e9c4f7ea134f73d112ad (diff)
downloadandroid_packages_apps_UnifiedEmail-0a9915394a090e7f2aa95e169a8418f5884e0518.tar.gz
android_packages_apps_UnifiedEmail-0a9915394a090e7f2aa95e169a8418f5884e0518.tar.bz2
android_packages_apps_UnifiedEmail-0a9915394a090e7f2aa95e169a8418f5884e0518.zip
Moved the "show pictures" to UnifiedEmail
Moved the logic that saves the list of approved senders for automatically showing images for a message to UnifiedEmail Also, added a fragment to allow the user to clear this list Bug: 9320770 Change-Id: Iaf06e5113b2ef8d48cbeb4a6901bcc8ce3eab7fe
Diffstat (limited to 'res')
-rw-r--r--res/menu/general_prefs_fragment_menu.xml29
-rw-r--r--res/values/strings.xml14
2 files changed, 43 insertions, 0 deletions
diff --git a/res/menu/general_prefs_fragment_menu.xml b/res/menu/general_prefs_fragment_menu.xml
new file mode 100644
index 000000000..39b19a51f
--- /dev/null
+++ b/res/menu/general_prefs_fragment_menu.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 Google Inc.
+ Licensed to The Android Open Source Project.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/clear_picture_approvals_menu_item"
+ android:showAsAction="never"
+ android:title="@string/clear_display_images_whitelist_title"/>
+ <item
+ android:id="@+id/feedback_menu_item"
+ android:icon="@android:drawable/ic_menu_send"
+ android:title="@string/feedback"/>
+</menu> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 247a8758e..449819231 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -795,6 +795,20 @@
<item>list</item>
</string-array>
+ <!-- Settings screen, title of "Restore default for "Show pictures"" [CHAR LIMIT=1000]-->
+ <string name="clear_display_images_whitelist_title">Clear picture approvals</string>
+
+ <!-- Settings screen, title of dialog shown to confirm action when user taps
+ "Clear picture approvals" in preferences [CHAR LIMIT=200]-->
+ <string name="clear_display_images_whitelist_dialog_title">Clear picture approvals?</string>
+ <!-- Settings screen, message of dialog shown to confirm action when tapping
+ "Clear picture approvals" [CHAR LIMIT=1000]-->
+ <string name="clear_display_images_whitelist_dialog_message">Stop displaying inline images from senders you previously allowed.</string>
+
+ <!-- Message shown in toast when the user taps "Restore default for "Show pictures"" in Gmail general preferences. [CHAR LIMIT=50] -->
+ <string name="sender_whitelist_cleared">Pictures won\'t be shown automatically.</string>
+
+
<!-- Dialog title for the What's New dialog. [CHAR LIMIT=50] -->
<string name="whats_new_dialog_title">What\'s new</string>