From d814e23ef2b8e02c28a0d08eeb139cfea413bc7a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 9 Jun 2015 19:26:07 -0700 Subject: Address long call state labels. + Specify char limit for common labels. + Use ResizingTextView. Bug: 20749917 Change-Id: I1291d2d5d0ce9043a35f6553a5d7fc0b39c23354 --- InCallUI/res/layout/primary_call_info.xml | 10 +++++++--- InCallUI/res/values-sw360dp/dimens.xml | 3 ++- InCallUI/res/values/dimens.xml | 3 ++- InCallUI/res/values/strings.xml | 16 ++++++++-------- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/InCallUI/res/layout/primary_call_info.xml b/InCallUI/res/layout/primary_call_info.xml index 3763e2455..c680ed6b9 100644 --- a/InCallUI/res/layout/primary_call_info.xml +++ b/InCallUI/res/layout/primary_call_info.xml @@ -60,7 +60,9 @@ android:scaleType="center" android:visibility="gone" /> - + android:ellipsize="end" + ex:resizing_text_min_size="@dimen/call_status_text_min_size" /> - 122dp 22sp + 18sp 45dp 34sp 18sp @@ -34,4 +35,4 @@ @dimen/dialpad_digits_text_size @dimen/dialpad_digits_height @dimen/dialpad_key_numbers_default_size - \ No newline at end of file + diff --git a/InCallUI/res/values/dimens.xml b/InCallUI/res/values/dimens.xml index 0739234f2..64853770c 100644 --- a/InCallUI/res/values/dimens.xml +++ b/InCallUI/res/values/dimens.xml @@ -44,8 +44,9 @@ + apply the values in values-sw360dp/dimens.xml. --> 16sp + 12sp 34dp 28sp 16sp diff --git a/InCallUI/res/values/strings.xml b/InCallUI/res/values/strings.xml index b967306e2..cadef732b 100644 --- a/InCallUI/res/values/strings.xml +++ b/InCallUI/res/values/strings.xml @@ -87,21 +87,21 @@ Voicemail number - + Dialing - + Redialing - + Conference call - + Incoming call - + Call ended - + On hold - + Hanging up - + In call -- cgit v1.2.3