From 6b2d72cebe947ea22cb5eec03460578429769020 Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Fri, 27 Sep 2013 16:38:38 -0700 Subject: Changes primary call card padding - Also changes the secondary call card padding and alignment Bug: 10955870 Change-Id: I781e2016914d6ce8e677cc8bc88ed909db23879c --- InCallUI/res/layout/primary_call_info.xml | 124 ++++++++++++++-------------- InCallUI/res/layout/secondary_call_info.xml | 7 +- InCallUI/res/values/dimens.xml | 2 + 3 files changed, 70 insertions(+), 63 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/res/layout/primary_call_info.xml b/InCallUI/res/layout/primary_call_info.xml index f67c04aa6..0d37a737a 100644 --- a/InCallUI/res/layout/primary_call_info.xml +++ b/InCallUI/res/layout/primary_call_info.xml @@ -38,77 +38,81 @@ android:orientation="vertical"> - + The "call banner" is a block of info about a single call, + including the contact name, phone number, call time counter, + and other status info. This info is shown as a "banner" + overlaid across the top of contact photo. --> + + android:layout_alignParentTop="true" + android:layout_alignParentStart="true" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingEnd="@dimen/call_banner_name_number_right_padding" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="@color/incall_call_banner_text_color" + android:singleLine="true" + android:textAlignment="viewStart"/> - + + + + - + + + android:layout_below="@id/labelAndNumber" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textColor="@color/incall_call_banner_text_color" + android:maxLines="1" + android:ellipsize="end" /> + + - - - - @@ -63,7 +64,7 @@ style="@style/SecondaryCallInfoSecondaryCallStatus" android:layout_width="wrap_content" android:layout_height="@dimen/call_banner_height" - android:gravity="top|end" + android:gravity="bottom|end" android:layout_gravity="end" android:paddingStart="@dimen/call_banner_side_padding" android:paddingEnd="@dimen/call_banner_side_padding" diff --git a/InCallUI/res/values/dimens.xml b/InCallUI/res/values/dimens.xml index 1d9497170..204657bc1 100644 --- a/InCallUI/res/values/dimens.xml +++ b/InCallUI/res/values/dimens.xml @@ -28,6 +28,8 @@ 24dp + + 100dp 16dp -- cgit v1.2.3