diff options
author | Qi Wang <wangqi@google.com> | 2016-02-11 17:42:52 -0800 |
---|---|---|
committer | Qi Wang <wangqi@google.com> | 2016-02-11 18:11:01 -0800 |
commit | 331a0a44c2ec39f50a7b8649d44780616170165c (patch) | |
tree | e544d6466981851c524de643c82c15443c4e8bec /InCallUI/res | |
parent | 5258aec00cf47cfd28b2dffe77ab339761ebe4ec (diff) |
Fix overlapping of business icon with business name in primary call info.
Bug: 26084273
Change-Id: Ie166544e5f961a330bf555ebb6edcbcbe89195b3
Diffstat (limited to 'InCallUI/res')
-rw-r--r-- | InCallUI/res/layout/primary_call_info.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/InCallUI/res/layout/primary_call_info.xml b/InCallUI/res/layout/primary_call_info.xml index 2aa583c18..3eb363026 100644 --- a/InCallUI/res/layout/primary_call_info.xml +++ b/InCallUI/res/layout/primary_call_info.xml @@ -107,16 +107,18 @@ </LinearLayout> - <RelativeLayout + <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:orientation="horizontal"> <!-- Name (or the phone number, if we don't have a name to display). --> <com.android.phone.common.widget.ResizingTextTextView xmlns:ex="http://schemas.android.com/apk/res-auto" android:id="@+id/name" - android:layout_width="match_parent" + android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_weight="1" android:layout_marginTop="-5dp" android:fontFamily="sans-serif-light" android:textAlignment="viewStart" @@ -134,7 +136,7 @@ android:scaleType="centerCrop" android:importantForAccessibility="no" android:src="@drawable/img_no_image_automirrored" /> - </RelativeLayout> + </LinearLayout> <LinearLayout android:layout_width="match_parent" |