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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/payments_request_editor_textview.xml
diff --git a/chrome/android/java/res/layout/payments_request_editor_textview.xml b/chrome/android/java/res/layout/payments_request_editor_textview.xml
index 7d1cc9a868fce6879cfb0ae114d82ab6e4f32968..ada61bfe8e6a14b37b1bbb90d61cdc1a790f015c 100644
--- a/chrome/android/java/res/layout/payments_request_editor_textview.xml
+++ b/chrome/android/java/res/layout/payments_request_editor_textview.xml
@@ -23,12 +23,30 @@
android:imeOptions="flagNoExtractUi" />
</org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
- <ImageView
- android:id="@+id/action_icon"
- android:layout_width="48dp"
+ <LinearLayout
+ android:id="@+id/icons_layer"
+ android:layout_width="wrap_content"
android:layout_height="48dp"
- android:padding="12dp"
android:layout_gravity="end"
- android:contentDescription="@null"
- android:visibility="gone"/>
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/value_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:layout_gravity="center_vertical"
+ android:layout_marginStart="8dp"
+ android:adjustViewBounds="true"
+ android:contentDescription="@null"
+ android:clickable="false"
+ android:visibility="gone"/>
+
+ <ImageView
+ android:id="@+id/action_icon"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:padding="12dp"
+ android:contentDescription="@null"
+ android:visibility="gone"/>
+ </LinearLayout>
</FrameLayout>
« 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