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

Side by Side Diff: chrome/android/java/res/layout/payment_request_bottom_bar.xml

Issue 2698703003: [Payments] Add UI elements to secure branding for payments (Closed)
Patch Set: nits 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <!-- Sits at the bottom of the payment request UI. -->
7 <org.chromium.chrome.browser.payments.ui.PaymentRequestBottomBar
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:chrome="http://schemas.android.com/apk/res-auto"
10 android:id="@+id/bottom_bar"
11 android:layout_height="wrap_content"
12 android:layout_width="match_parent"
13 android:padding="@dimen/payments_section_large_spacing"
14 android:background="@android:color/white"
15 android:visibility="gone" >
16
17 <ImageView
18 android:id="@+id/logo_name"
19 android:layout_width="72dp"
20 android:layout_height="20dp"
21 android:layout_gravity="start|center_vertical"
22 android:src="@drawable/product_logo_name"
23 android:contentDescription="@null" />
24
25 <ImageView
26 android:id="@+id/logo"
27 android:layout_width="20dp"
28 android:layout_height="20dp"
29 android:layout_gravity="start|center_vertical"
30 android:src="@drawable/fre_product_logo"
31 android:contentDescription="@null" />
32
33 <Space
34 android:id="@+id/space"
35 android:layout_width="0dp"
36 android:layout_height="0dp" />
37
38 <Button
39 android:id="@+id/button_secondary"
40 style="@style/ButtonCompatBorderless"
41 android:layout_width="wrap_content"
42 android:layout_height="36dp"
43 android:layout_gravity="end"
44 android:text="@string/payments_edit_button"
45 android:textAllCaps="true"
46 android:textColor="@color/light_active_color"
47 android:textSize="14sp" />
48
49 <org.chromium.ui.widget.ButtonCompat
50 android:id="@+id/button_primary"
51 android:layout_width="wrap_content"
52 android:layout_height="36dp"
53 android:layout_gravity="end"
54 android:text="@string/payments_pay_button"
55 android:textAllCaps="true"
56 android:textColor="@android:color/white"
57 android:textSize="14sp"
58 chrome:buttonColor="@color/light_active_color"
59 chrome:buttonRaised="false" />
60 </org.chromium.chrome.browser.payments.ui.PaymentRequestBottomBar>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/payment_request.xml ('k') | chrome/android/java/res/layout/payment_request_header.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698