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

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: fix assertion error and reland 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 android:layout_marginTop="@dimen/payments_section_small_spacing" 10 android:layout_marginTop="@dimen/payments_section_small_spacing"
11 android:layout_marginBottom="@dimen/payments_section_small_spacing"> 11 android:layout_marginBottom="@dimen/payments_section_small_spacing">
12 12
13 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout 13 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
14 android:id="@+id/text_input_layout" 14 android:id="@+id/text_input_layout"
15 android:layout_width="match_parent" 15 android:layout_width="match_parent"
16 android:layout_height="wrap_content"> 16 android:layout_height="wrap_content">
17 17
18 <AutoCompleteTextView 18 <AutoCompleteTextView
19 android:id="@+id/text_view" 19 android:id="@+id/text_view"
20 android:layout_width="match_parent" 20 android:layout_width="match_parent"
21 android:layout_height="wrap_content" 21 android:layout_height="wrap_content"
22 android:singleLine="true" 22 android:singleLine="true"
23 android:imeOptions="flagNoExtractUi" /> 23 android:imeOptions="flagNoExtractUi" />
24 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> 24 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
25 25
26 <ImageView 26 <LinearLayout
27 android:id="@+id/action_icon" 27 android:id="@+id/icons_layer"
28 android:layout_width="48dp" 28 android:layout_width="wrap_content"
29 android:layout_height="48dp" 29 android:layout_height="48dp"
30 android:padding="12dp"
31 android:layout_gravity="end" 30 android:layout_gravity="end"
32 android:contentDescription="@null" 31 android:orientation="horizontal">
33 android:visibility="gone"/> 32
33 <ImageView
34 android:id="@+id/value_icon"
35 android:layout_width="wrap_content"
36 android:layout_height="24dp"
37 android:layout_gravity="center_vertical"
38 android:layout_marginStart="8dp"
39 android:adjustViewBounds="true"
40 android:contentDescription="@null"
41 android:clickable="false"
42 android:visibility="gone"/>
43
44 <ImageView
45 android:id="@+id/action_icon"
46 android:layout_width="48dp"
47 android:layout_height="48dp"
48 android:padding="12dp"
49 android:contentDescription="@null"
50 android:visibility="gone"/>
51 </LinearLayout>
34 </FrameLayout> 52 </FrameLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698