diff options
author | Yorke Lee <yorkelee@google.com> | 2015-05-19 17:00:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-19 17:00:36 +0000 |
commit | 9a160659bb23cd8c10c80ee6af0f8001de0170b0 (patch) | |
tree | a6c3bbf2afe68c8ce0e7ee68e04bb849f70518c8 /InCallUI | |
parent | 846b9d9e2a26cf06d8b09a9a318a36dd094d09fd (diff) | |
parent | 9b93ee28398fe8c160c377fd07e16da7948fef2e (diff) |
am 176a0de9: Tweak some layouts so that very long numbers are wrapped
* commit '176a0de903f9d255dcc87ca6b70321553c1f42db':
Tweak some layouts so that very long numbers are wrapped
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/res/layout/primary_call_info.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/InCallUI/res/layout/primary_call_info.xml b/InCallUI/res/layout/primary_call_info.xml index 7127d9815..3763e2455 100644 --- a/InCallUI/res/layout/primary_call_info.xml +++ b/InCallUI/res/layout/primary_call_info.xml @@ -108,11 +108,13 @@ <LinearLayout android:id="@+id/labelAndNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1" android:orientation="horizontal"> <TextView android:id="@+id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="0" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/incall_call_banner_subtext_color" android:textSize="@dimen/call_label_text_size" @@ -121,22 +123,23 @@ android:visibility="gone" /> <TextView android:id="@+id/phoneNumber" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1" android:layout_marginStart="6dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/incall_call_banner_subtext_color" android:textSize="@dimen/call_label_text_size" - android:singleLine="true" + android:singleLine="false" android:visibility="gone" /> </LinearLayout> <!-- Elapsed time indication for a call in progress. --> <TextView android:id="@+id/elapsedTime" - android:layout_width="0dp" + android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1" + android:layout_weight="0" android:textAlignment="viewEnd" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/incall_call_banner_subtext_color" |