From c296217682c185a33cbecf7a4c5376941d8b573f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 12 Dec 2014 11:29:56 -0800 Subject: Support RTL in InCall call card. + Specify "START" text alignment for call state label and the name. + Specify "END" text alignment for the elapsed time. + Make the elapsed time view expand to take the parent's width, instead of the number and location label's parent view. + Switch elapsed time text alignment to START if the number and label view is hidden. Bug: 18716511 Change-Id: I6d2ef5fe8a4364d42fb0438541e00ecce3daeaab --- res/layout/primary_call_info.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'res/layout/primary_call_info.xml') diff --git a/res/layout/primary_call_info.xml b/res/layout/primary_call_info.xml index 1f3b9549..71369d47 100644 --- a/res/layout/primary_call_info.xml +++ b/res/layout/primary_call_info.xml @@ -64,6 +64,7 @@ + @@ -80,6 +82,7 @@ android:layout_height="wrap_content" android:layout_marginTop="-5dp" android:fontFamily="sans-serif-light" + android:textAlignment="viewStart" android:textAppearance="?android:attr/textAppearanceLarge" android:textSize="@dimen/call_name_text_size" android:singleLine="true" @@ -95,9 +98,8 @@