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

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

Issue 2698703003: [Payments] Add UI elements to secure branding for payments (Closed)
Patch Set: support rotation 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_header.xml
diff --git a/chrome/android/java/res/layout/payment_request_header.xml b/chrome/android/java/res/layout/payment_request_header.xml
index aa227a25027cca6d9c9a545b202be55dd22d5582..0ac9fab62cafbbc8fcb68800d2341b48fdf7c031 100644
--- a/chrome/android/java/res/layout/payment_request_header.xml
+++ b/chrome/android/java/res/layout/payment_request_header.xml
@@ -10,7 +10,8 @@
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
- <FrameLayout
+ <org.chromium.chrome.browser.payments.ui.PaymentRequestHeader
+ android:id="@+id/header"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:minHeight="64dp"
@@ -30,8 +31,8 @@
android:id="@+id/page_info"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_marginStart="56dp"
- android:layout_marginEnd="56dp"
+ android:layout_marginStart="50dp"
+ android:layout_marginEnd="50dp"
android:layout_marginBottom="@dimen/payments_section_vertical_spacing"
android:layout_marginTop="@dimen/payments_section_vertical_spacing"
android:layout_gravity="center_vertical"
@@ -41,6 +42,7 @@
android:id="@+id/page_title"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:paddingStart="6dp"
android:ellipsize="end"
android:maxLines="1"
android:singleLine="true"
@@ -52,6 +54,8 @@
android:id="@+id/hostname"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:paddingStart="6dp"
+ android:gravity="center_vertical"
android:ellipsize="start"
android:maxLines="1"
android:singleLine="true"
@@ -68,6 +72,6 @@
android:contentDescription="@string/close"
android:background="?attr/selectableItemBackground"
android:scaleType="center" />
- </FrameLayout>
+ </org.chromium.chrome.browser.payments.ui.PaymentRequestHeader>
</merge>

Powered by Google App Engine
This is Rietveld 408576698