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

Unified Diff: chrome/android/java/res/layout/payment_request_editor_icons.xml

Issue 2902503002: [Payment] should show all accepted card icon in payment editor. (Closed)
Patch Set: q Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/payment_request_editor_icons.xml
diff --git a/chrome/android/java/res/layout/payment_request_editor_icons.xml b/chrome/android/java/res/layout/payment_request_editor_icons.xml
index 6af75a96354b6b6e0464bb5eb6f86b171cb61ed9..2d98e4a788a82e349cd05c265e4a9f80e7c0bf13 100644
--- a/chrome/android/java/res/layout/payment_request_editor_icons.xml
+++ b/chrome/android/java/res/layout/payment_request_editor_icons.xml
@@ -19,11 +19,15 @@
android:layout_height="wrap_content"
android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
- <LinearLayout
+ <org.chromium.chrome.browser.payments.ui.ExpandableGridView
android:id="@+id/icons_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:columnWidth="@dimen/payments_section_logo_width"
android:layout_marginTop="@dimen/payments_section_small_spacing"
- android:orientation="horizontal" />
+ android:verticalSpacing="@dimen/payments_section_small_spacing"
+ android:horizontalSpacing="@dimen/payments_section_small_spacing"
+ android:stretchMode="none"
+ android:numColumns="auto_fit" />
-</LinearLayout>
+</LinearLayout>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698