Index: chrome/android/java/res/layout/autofill_text.xml |
diff --git a/chrome/android/java/res/layout/autofill_text.xml b/chrome/android/java/res/layout/autofill_text.xml |
index 08aede0fdd9831e96e4ce4006480b88e52d10310..f8c28b35b3e620c46a207d83dda49f8c88e5227a 100644 |
--- a/chrome/android/java/res/layout/autofill_text.xml |
+++ b/chrome/android/java/res/layout/autofill_text.xml |
@@ -5,28 +5,30 @@ |
found in the LICENSE file. |
--> |
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
- android:layout_height="fill_parent" |
- android:layout_width="fill_parent" |
- android:background="#FFF" |
- android:orientation="horizontal"> |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:id="@+id/autofill_menu_text" |
+ android:layout_width="fill_parent" |
+ android:layout_height="44dp" |
+ android:minHeight="44dp" |
+ android:orientation="vertical" |
+ android:gravity="center_vertical"> |
<TextView android:id="@+id/autofill_label" |
- android:layout_alignParentEnd="true" |
android:layout_width="wrap_content" |
- android:layout_height="fill_parent" |
- android:padding="5dp" |
- android:textSize="18sp" |
- android:textColor="#CCC" |
+ android:layout_height="wrap_content" |
android:ellipsize="end" |
- android:singleLine="true"/> |
- <TextView android:id="@+id/autofill_name" |
- android:layout_alignParentStart="true" |
- android:layout_width="wrap_content" |
- android:layout_height="fill_parent" |
- android:padding="5dp" |
- android:background="#FFF" |
+ android:singleLine="true" |
android:textSize="18sp" |
- android:textColor="#000" |
+ android:includeFontPadding="false" |
+ android:layout_marginStart="10dp" |
+ android:layout_marginEnd="10dp"/> |
+ <TextView android:id="@+id/autofill_sublabel" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:textSize="14sp" |
+ android:textColor="#8b8b8b" |
android:ellipsize="end" |
- android:singleLine="true"/> |
-</RelativeLayout> |
+ android:singleLine="true" |
+ android:includeFontPadding="false" |
+ android:layout_marginStart="10dp" |
+ android:layout_marginEnd="10dp"/> |
+</LinearLayout> |