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

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: more fixing 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
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..1848ed97892fc953913e0fb89510dac8e02ee5ab 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,10 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
// Display the summary of the selected address in multiple lines on bottom sheet.
mShippingAddressSection.setDisplaySummaryInSingleLineInNormalMode(false);
+ // Display selected shipping option name in the left summary text view and
+ // the cost in the right summary text view on bottom sheet.
+ mShippingOptionSection.setSplitSummaryInDisplayModeNormal(true);
+
// Some sections conditionally allow adding new options.
mShippingOptionSection.setCanAddItems(false);
mPaymentMethodSection.setCanAddItems(canAddCards);

Powered by Google App Engine
This is Rietveld 408576698