From 54ee2790a6de767692709283a6bb1f37df62255e Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Mon, 23 Jun 2014 11:26:58 -0700 Subject: Add text resizing to InCallUI name field (1/2). Set maximum size of primary name text to 45 pt. Scales down to minimum size of 34 pt. Bug: 15457502 Change-Id: I0afb82c11730383a9e9cc70636a8e502bc30ae47 --- res/layout/primary_call_info.xml | 6 ++++-- res/values/dimens.xml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/layout/primary_call_info.xml b/res/layout/primary_call_info.xml index 369f7021..a6afdbcd 100644 --- a/res/layout/primary_call_info.xml +++ b/res/layout/primary_call_info.xml @@ -44,14 +44,16 @@ android:ellipsize="end" /> - + android:singleLine="true" + ex:resizing_text_min_size="@dimen/call_name_text_min_size" /> 22sp - 36sp + 45sp + 34sp 18sp