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

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: fix a class name. Created 3 years, 7 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/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..d2500fdc5e42764d5729c61e3a5eef8598e312ec 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.widget.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>

Powered by Google App Engine
This is Rietveld 408576698