Chromium Code Reviews| Index: chrome/android/java/res/layout/payment_request_bottom_bar.xml |
| diff --git a/chrome/android/java/res/layout/payment_request_bottom_bar.xml b/chrome/android/java/res/layout/payment_request_bottom_bar.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f003bd80ea151ebed0fe9709e16d64914edccd40 |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/payment_request_bottom_bar.xml |
| @@ -0,0 +1,62 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| + Use of this source code is governed by a BSD-style license that can be |
| + found in the LICENSE file. --> |
| + |
| +<!-- Sits at the bottom of the payment request UI. --> |
| +<org.chromium.chrome.browser.payments.ui.PaymentRequestBottomBar |
| + xmlns:android="http://schemas.android.com/apk/res/android" |
| + xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| + android:id="@+id/bottom_bar" |
| + 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" > |
| + |
| + <ImageView |
|
gone
2017/02/17 01:53:54
Indent by 4s
gogerald1
2017/02/17 17:28:28
Done.
|
| + android:id="@+id/logo_name" |
| + android:layout_width="72dp" |
| + android:layout_height="20dp" |
| + android:layout_gravity="start|center_vertical" |
| + android:src="@drawable/product_logo_name" |
| + android:contentDescription="@null" /> |
| + |
| + <ImageView |
| + android:id="@+id/logo" |
| + android:layout_width="20dp" |
| + android:layout_height="20dp" |
| + android:layout_gravity="start|center_vertical" |
| + android:src="@drawable/fre_product_logo" |
| + android:contentDescription="@null" |
| + android:visibility="gone" /> |
| + |
| + <Space |
| + android:id="@+id/space" |
| + android:layout_width="0dp" |
| + android:layout_height="0dp" |
| + android:layout_weight="1" /> |
| + |
| + <Button |
| + android:id="@+id/edit_button" |
| + style="@style/ButtonCompatBorderless" |
| + android:layout_width="wrap_content" |
| + android:layout_height="36dp" |
| + android:layout_gravity="end" |
| + android:text="@string/payments_edit_button" |
| + android:textAllCaps="true" |
| + android:textColor="@color/light_active_color" |
| + android:textSize="14sp" /> |
| + |
| + <org.chromium.ui.widget.ButtonCompat |
| + android:id="@+id/pay_button" |
| + android:layout_width="wrap_content" |
| + android:layout_height="36dp" |
| + android:layout_gravity="end" |
| + android:text="@string/payments_pay_button" |
| + android:textAllCaps="true" |
| + android:textColor="@android:color/white" |
| + android:textSize="14sp" |
| + chrome:buttonColor="@color/light_active_color" |
| + chrome:buttonRaised="false" /> |
| +</org.chromium.chrome.browser.payments.ui.PaymentRequestBottomBar> |