OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <FrameLayout | 6 <FrameLayout |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="wrap_content"> | 9 android:layout_height="wrap_content"> |
10 | 10 |
11 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout | 11 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout |
12 android:id="@+id/text_input_layout" | 12 android:id="@+id/text_input_layout" |
13 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
14 android:layout_height="wrap_content"> | 14 android:layout_height="wrap_content"> |
15 | 15 |
16 <AutoCompleteTextView | 16 <AutoCompleteTextView |
17 android:id="@+id/text_view" | 17 android:id="@+id/text_view" |
18 android:layout_width="match_parent" | 18 android:layout_width="match_parent" |
19 android:layout_height="wrap_content" | 19 android:layout_height="wrap_content" |
20 android:singleLine="true" | 20 android:singleLine="true" |
21 android:imeOptions="flagNoExtractUi" /> | 21 android:imeOptions="flagNoExtractUi" /> |
22 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> | 22 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> |
23 | 23 |
24 <LinearLayout | 24 <ImageView |
25 android:id="@+id/icons_layer" | 25 android:id="@+id/action_icon" |
26 android:layout_width="wrap_content" | 26 android:layout_width="48dp" |
27 android:layout_height="48dp" | 27 android:layout_height="48dp" |
| 28 android:padding="12dp" |
28 android:layout_gravity="end" | 29 android:layout_gravity="end" |
29 android:orientation="horizontal"> | 30 android:contentDescription="@null" |
30 | 31 android:visibility="gone"/> |
31 <ImageView | |
32 android:id="@+id/value_icon" | |
33 android:layout_width="wrap_content" | |
34 android:layout_height="24dp" | |
35 android:layout_gravity="center_vertical" | |
36 android:layout_marginStart="8dp" | |
37 android:adjustViewBounds="true" | |
38 android:contentDescription="@null" | |
39 android:clickable="false" | |
40 android:visibility="gone"/> | |
41 | |
42 <ImageView | |
43 android:id="@+id/action_icon" | |
44 android:layout_width="48dp" | |
45 android:layout_height="48dp" | |
46 android:padding="12dp" | |
47 android:contentDescription="@null" | |
48 android:visibility="gone"/> | |
49 </LinearLayout> | |
50 </FrameLayout> | 32 </FrameLayout> |
OLD | NEW |