From 5c1ab52ef391d2261a4005878b834a1cfe2ba349 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 4 Jun 2015 14:38:50 -0700 Subject: Fix shortcut action text length issues. + Lower shortcut char limits. There's probably 40 characters of space on a N6, but less on smaller devices. + Shorten "Add to existing contact" to "add to contact". Bug: 21550993 Change-Id: I136b01cd90ae36e07b7f567294e68316a57856a0 --- res/values/strings.xml | 10 +++++----- src/com/android/dialer/list/DialerPhoneNumberListAdapter.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 21cd8909f..213d340dd 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -495,17 +495,17 @@ + [CHAR LIMIT=25] --> Create new contact - Add to existing contact + [CHAR LIMIT=25] --> + Add to contact - + Send SMS - + Make video call diff --git a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java index 82daab5aa..8a4302319 100644 --- a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java +++ b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java @@ -149,7 +149,7 @@ public class DialerPhoneNumberListAdapter extends PhoneNumberListAdapter { drawableId = R.drawable.ic_search_add_contact; break; case SHORTCUT_ADD_TO_EXISTING_CONTACT: - text = resources.getString(R.string.search_shortcut_add_to_existing_contact); + text = resources.getString(R.string.search_shortcut_add_to_contact); drawableId = R.drawable.ic_person_24dp; break; case SHORTCUT_SEND_SMS_MESSAGE: -- cgit v1.2.3