OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 <!-- Copyright (c) 2013 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:id="@+id/autofill_menu_item" | 8 android:id="@+id/autofill_menu_item" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="@dimen/autofill_menu_item_size" | 10 android:layout_height="@dimen/autofill_menu_item_size" |
11 android:minHeight="@dimen/autofill_menu_item_size" | 11 android:minHeight="@dimen/autofill_menu_item_size" |
12 android:gravity="center_vertical" | 12 android:gravity="center_vertical" |
13 android:orientation="horizontal"> | 13 android:orientation="horizontal"> |
14 <ImageView | |
15 android:id="@+id/cc_icon" | |
16 android:layout_width="@dimen/autofill_menu_item_size" | |
17 android:layout_height="@dimen/autofill_menu_item_size" | |
18 android:layout_marginLeft="5dp"/> | |
19 <LinearLayout | 14 <LinearLayout |
20 android:id="@+id/autofill_menu_text" | 15 android:id="@+id/autofill_menu_text" |
21 android:layout_width="0dp" | 16 android:layout_width="0dp" |
22 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
23 android:layout_weight="1" | 18 android:layout_weight="1" |
24 android:orientation="vertical"> | 19 android:orientation="vertical"> |
25 <TextView | 20 <LinearLayout |
26 android:id="@+id/adapter_item_line_1" | 21 android:id="@+id/autofill_menu_text" |
27 android:layout_width="wrap_content" | 22 android:layout_width="wrap_content" |
28 android:layout_height="wrap_content" | 23 android:layout_height="0dp" |
29 android:textStyle="bold" | 24 android:layout_weight="1" |
30 android:textSize="14sp" | 25 android:orientation="horizontal"> |
31 android:ellipsize="end" | 26 <ImageView |
32 android:singleLine="true" | 27 android:id="@+id/cc_icon" |
33 android:scrollHorizontally="true" | 28 android:layout_width="@dimen/autofill_menu_icon_width" |
34 android:layout_marginLeft="5dp"/> | 29 android:layout_height="@dimen/autofill_menu_icon_height" |
| 30 android:layout_marginLeft="5dp"/> |
| 31 <TextView |
| 32 android:id="@+id/adapter_item_line_1" |
| 33 android:layout_width="wrap_content" |
| 34 android:layout_height="wrap_content" |
| 35 android:textStyle="bold" |
| 36 android:textSize="14sp" |
| 37 android:ellipsize="end" |
| 38 android:singleLine="true" |
| 39 android:scrollHorizontally="true" |
| 40 android:layout_marginLeft="5dp"/> |
| 41 </LinearLayout> |
35 <TextView | 42 <TextView |
36 android:id="@+id/adapter_item_line_2" | 43 android:id="@+id/adapter_item_line_2" |
37 android:layout_width="wrap_content" | 44 android:layout_width="wrap_content" |
38 android:layout_height="wrap_content" | 45 android:layout_height="wrap_content" |
39 android:textSize="12sp" | 46 android:textSize="12sp" |
40 android:ellipsize="end" | 47 android:ellipsize="end" |
41 android:singleLine="true" | 48 android:singleLine="true" |
42 android:scrollHorizontally="true" | 49 android:scrollHorizontally="true" |
43 android:layout_marginLeft="5dp"/> | 50 android:layout_marginLeft="5dp"/> |
44 </LinearLayout> | 51 </LinearLayout> |
45 <Button | 52 <Button |
46 android:id="@+id/adapter_item_edit_button" | 53 android:id="@+id/adapter_item_edit_button" |
47 android:layout_width="wrap_content" | 54 android:layout_width="wrap_content" |
48 android:layout_height="wrap_content" | 55 android:layout_height="wrap_content" |
49 android:layout_marginLeft="5dp" | 56 android:layout_marginLeft="5dp" |
50 android:textSize="12sp" | 57 android:textSize="12sp" |
51 android:textStyle="bold" | 58 android:textStyle="bold" |
52 android:focusable="false" | 59 android:focusable="false" |
53 android:visibility="gone"/> | 60 android:visibility="gone"/> |
54 <EditText | 61 <EditText |
55 android:layout_height="match_parent" | 62 android:layout_height="match_parent" |
56 android:layout_width="wrap_content" | 63 android:layout_width="wrap_content" |
57 android:id="@+id/cvc_challenge" | 64 android:id="@+id/cvc_challenge" |
58 android:visibility="gone" | 65 android:visibility="gone" |
59 android:drawablePadding="@dimen/autofill_menu_item_padding" | 66 android:drawablePadding="@dimen/autofill_menu_item_padding" |
60 android:textSize="@dimen/autofill_edit_text_size"/> | 67 android:textSize="@dimen/autofill_edit_text_size"/> |
61 </LinearLayout> | 68 </LinearLayout> |
OLD | NEW |