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