From 4ca1ca862202100f89b7ce24509ab7e310bf7191 Mon Sep 17 00:00:00 2001 From: Jorge Lugo Date: Thu, 30 Jun 2011 20:13:12 -0700 Subject: [PATCH] Display message when no quick respones available When editing quick responses, displays an appropriate message letting users know that there are no quick responses. Additionally, the MessageCompose activity will only show "insert quick responses" when at least one exists. Bug: 4948180 Change-Id: I1191bd54d6e64f990b6d6830f0837579d7a6918c --- ...settings_edit_quick_responses_fragment.xml | 20 +++++++-- res/values/strings.xml | 3 ++ .../email/activity/MessageCompose.java | 43 +++++++++++++++++++ ...untSettingsEditQuickResponsesFragment.java | 4 ++ 4 files changed, 66 insertions(+), 4 deletions(-) diff --git a/res/layout/account_settings_edit_quick_responses_fragment.xml b/res/layout/account_settings_edit_quick_responses_fragment.xml index 29f9467ca..62db3db2d 100644 --- a/res/layout/account_settings_edit_quick_responses_fragment.xml +++ b/res/layout/account_settings_edit_quick_responses_fragment.xml @@ -23,14 +23,24 @@ android:paddingRight="@dimen/settings_fragment_padding_right" > - + - + + android:text="@string/create_action" + />