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

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: Created 4 years, 2 months 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
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 ec5ba08f0ecc1ef92089059809439e13f4a9bff5..a4e2ac35e4c0206501ca4987b8c1a8308e723d0d 100644
--- a/chrome/android/java/res/layout/payments_request_editor_textview.xml
+++ b/chrome/android/java/res/layout/payments_request_editor_textview.xml
@@ -21,12 +21,31 @@
android:imeOptions="flagNoExtractUi" />
</org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
- <ImageView
- android:id="@+id/action_icon"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:padding="12dp"
+ <LinearLayout
+ android:id="@+id/icons_layer"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_gravity="end"
- android:contentDescription="@null"
- android:visibility="gone"/>
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/value_icon"
+ android:layout_width="37.3dp"
+ android:layout_height="24dp"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginStart="8dp"
+ android:background="@drawable/payments_ui_logo_bg"
+ 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>

Powered by Google App Engine
This is Rietveld 408576698