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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java

Issue 2914503002: align shipping option name to left and shipping cost to right on bottom sheet (Closed)
Patch Set: formatting 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/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
index d5adeeb80f85a7811414daf5950591e8d7f9a05c..da18aa2dac15081975d4af43e1c011a3d30fd9d0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
@@ -543,6 +543,9 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
// Display the summary of the selected address in multiple lines on bottom sheet.
mShippingAddressSection.setDisplaySummaryInSingleLineInNormalMode(false);
+ // Align shipping option name to the left and cost to the right.
gogerald1 2017/05/31 20:34:47 suggest "//Lets the selected shipping option name
wuandy1 2017/06/01 17:17:57 Done.
+ mShippingOptionSection.setSeparateMainAndSubLabelInNormalMode(true);
+
// Some sections conditionally allow adding new options.
mShippingOptionSection.setCanAddItems(false);
mPaymentMethodSection.setCanAddItems(canAddCards);

Powered by Google App Engine
This is Rietveld 408576698