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

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 up 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..b5745b907b16ff7b2c146e130dd11a7d2dc8393b 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.DynamicHeightGridView
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