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

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

Issue 2698703003: [Payments] Add UI elements to secure branding for payments (Closed)
Patch Set: Created 3 years, 10 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.xml
diff --git a/chrome/android/java/res/layout/payment_request.xml b/chrome/android/java/res/layout/payment_request.xml
index 5860eb923ae5f5c6579d07b2158ca491a1b6b685..13ea29f998e6368ddd1402b8891b9cc23f8a6ca6 100644
--- a/chrome/android/java/res/layout/payment_request.xml
+++ b/chrome/android/java/res/layout/payment_request.xml
@@ -32,12 +32,25 @@
</org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView>
- <org.chromium.chrome.browser.widget.DualControlLayout
- android:id="@+id/button_bar"
+ <LinearLayout
android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:padding="@dimen/payments_section_large_spacing"
- android:background="@android:color/white"
- android:visibility="gone" />
+ android:layout_width="match_parent">
+
+ <ImageView
+ android:layout_width="72dp"
+ android:layout_height="20dp"
+ android:layout_gravity="center_vertical"
+ android:paddingStart="@dimen/payments_section_large_spacing"
+ android:src="@drawable/product_logo_name"
+ android:contentDescription="@null" />
+
+ <org.chromium.chrome.browser.widget.DualControlLayout
+ android:id="@+id/button_bar"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:padding="@dimen/payments_section_large_spacing"
+ android:visibility="gone" />
+ </LinearLayout>
</org.chromium.chrome.browser.widget.BoundedLinearLayout>

Powered by Google App Engine
This is Rietveld 408576698