Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1898)

Side by Side Diff: chrome/android/java/res/layout/payments_request_editor_textview.xml

Issue 2442933003: [Payments] Show the icon for the typed in credit card in editor (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <ImageView 24 <LinearLayout
25 android:id="@+id/action_icon" 25 android:id="@+id/icons_layer"
26 android:layout_width="48dp" 26 android:layout_width="wrap_content"
27 android:layout_height="48dp" 27 android:layout_height="wrap_content"
28 android:padding="12dp"
29 android:layout_gravity="end" 28 android:layout_gravity="end"
30 android:contentDescription="@null" 29 android:orientation="horizontal">
31 android:visibility="gone"/> 30
31 <ImageView
32 android:id="@+id/value_icon"
33 android:layout_width="37.3dp"
34 android:layout_height="24dp"
35 android:layout_marginTop="12dp"
36 android:layout_marginBottom="12dp"
37 android:layout_marginStart="8dp"
38 android:background="@drawable/payments_ui_logo_bg"
39 android:contentDescription="@null"
40 android:clickable="false"
41 android:visibility="gone"/>
42
43 <ImageView
44 android:id="@+id/action_icon"
45 android:layout_width="48dp"
46 android:layout_height="48dp"
47 android:padding="12dp"
48 android:contentDescription="@null"
49 android:visibility="gone"/>
50 </LinearLayout>
32 </FrameLayout> 51 </FrameLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698