From 9f1cff0659e4b9a179690d9c31f7a9bf56aad228 Mon Sep 17 00:00:00 2001 From: Alice Yang Date: Thu, 11 Apr 2013 14:16:01 -0700 Subject: [PATCH] Checkbox vs. sender image setting Replace the current "Hide checkbox" setting with a tri-state setting with choice of: - Show checkboxes - Show sender image - Show neither Bug: 8512959 Change-Id: Ifa233b6d65f8c37388edeed71dbfbfdf1295d6fc --- res/values/strings.xml | 25 +++++++++---- res/xml/general_preferences.xml | 13 ++++--- src/com/android/email/Preferences.java | 37 +++++++++++++++++-- .../activity/setup/GeneralPreferences.java | 18 +++++---- .../android/email/provider/EmailProvider.java | 28 +++++++++----- 5 files changed, 89 insertions(+), 32 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index d53cfd618..f6f12f559 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1027,6 +1027,24 @@ as %s. Days to sync + + Checkbox/sender image + + + Show checkbox + Show image (not working yet) + Show neither + + + Choose whether to show checkboxes or sender images in conversation view + + checkbox + senderimage + none + + + Checkbox/sender image + Email account @@ -1095,13 +1113,6 @@ as %s. Application - - Hide checkboxes - - In lists of messages, touch and - hold to select Confirm before deleting diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml index 3a6415057..e48d6288e 100644 --- a/res/xml/general_preferences.xml +++ b/res/xml/general_preferences.xml @@ -47,12 +47,13 @@ android:entryValues="@array/general_preference_text_zoom_values" android:dialogTitle="@string/general_preference_text_zoom_dialog_title" /> - +