From acfbeb812be7072913a7c90f3a33107398a6f60b Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Wed, 18 Sep 2013 13:39:18 -0700 Subject: [PATCH] Use unified strings for sender image preference and switch to checkbox b/10693718 Change-Id: Iec81347915611f81ded0c62ca37c401fdb28ae9f --- res/values/strings.xml | 13 ------------- res/xml/general_preferences.xml | 11 +++++------ .../email/activity/setup/GeneralPreferences.java | 16 ++++++---------- 3 files changed, 11 insertions(+), 29 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index a4b15fbe3..191b9dda1 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -646,19 +646,6 @@ Days of mail to sync - - Sender image - - - Show image - Show nothing - - - Choose whether to show sender images in conversation view - - senderimage - none - Sender image diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml index 4462084ec..67b102c49 100644 --- a/res/xml/general_preferences.xml +++ b/res/xml/general_preferences.xml @@ -45,13 +45,12 @@ android:entryValues="@array/general_preference_text_zoom_values" android:dialogTitle="@string/general_preference_text_zoom_dialog_title" /> - + android:persistent="false" + android:defaultValue="true" + android:title="@string/preference_sender_image_title" + android:summary="@string/preference_sender_image_description" />