OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 android:layout_height="fill_parent" | 9 android:id="@+id/autofill_menu_text" |
10 android:layout_width="fill_parent" | 10 android:layout_width="fill_parent" |
11 android:background="#FFF" | 11 android:layout_height="44dp" |
12 android:orientation="horizontal"> | 12 android:minHeight="44dp" |
| 13 android:orientation="vertical" |
| 14 android:gravity="center_vertical"> |
13 <TextView android:id="@+id/autofill_label" | 15 <TextView android:id="@+id/autofill_label" |
14 android:layout_alignParentEnd="true" | |
15 android:layout_width="wrap_content" | 16 android:layout_width="wrap_content" |
16 android:layout_height="fill_parent" | 17 android:layout_height="wrap_content" |
17 android:padding="5dp" | 18 android:ellipsize="end" |
| 19 android:singleLine="true" |
18 android:textSize="18sp" | 20 android:textSize="18sp" |
19 android:textColor="#CCC" | 21 android:includeFontPadding="false" |
| 22 android:layout_marginStart="10dp" |
| 23 android:layout_marginEnd="10dp"/> |
| 24 <TextView android:id="@+id/autofill_sublabel" |
| 25 android:layout_width="wrap_content" |
| 26 android:layout_height="wrap_content" |
| 27 android:textSize="14sp" |
| 28 android:textColor="#8b8b8b" |
20 android:ellipsize="end" | 29 android:ellipsize="end" |
21 android:singleLine="true"/> | 30 android:singleLine="true" |
22 <TextView android:id="@+id/autofill_name" | 31 android:includeFontPadding="false" |
23 android:layout_alignParentStart="true" | 32 android:layout_marginStart="10dp" |
24 android:layout_width="wrap_content" | 33 android:layout_marginEnd="10dp"/> |
25 android:layout_height="fill_parent" | 34 </LinearLayout> |
26 android:padding="5dp" | |
27 android:background="#FFF" | |
28 android:textSize="18sp" | |
29 android:textColor="#000" | |
30 android:ellipsize="end" | |
31 android:singleLine="true"/> | |
32 </RelativeLayout> | |
OLD | NEW |