Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
|
gone
2017/02/17 01:53:54
Indent by 4s
gogerald1
2017/02/17 17:28:28
Done.
| |
| 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 android:visibility="gone" /> | |
| 33 | |
| 34 <Space | |
| 35 android:id="@+id/space" | |
| 36 android:layout_width="0dp" | |
| 37 android:layout_height="0dp" | |
| 38 android:layout_weight="1" /> | |
| 39 | |
| 40 <Button | |
| 41 android:id="@+id/edit_button" | |
| 42 style="@style/ButtonCompatBorderless" | |
| 43 android:layout_width="wrap_content" | |
| 44 android:layout_height="36dp" | |
| 45 android:layout_gravity="end" | |
| 46 android:text="@string/payments_edit_button" | |
| 47 android:textAllCaps="true" | |
| 48 android:textColor="@color/light_active_color" | |
| 49 android:textSize="14sp" /> | |
| 50 | |
| 51 <org.chromium.ui.widget.ButtonCompat | |
| 52 android:id="@+id/pay_button" | |
| 53 android:layout_width="wrap_content" | |
| 54 android:layout_height="36dp" | |
| 55 android:layout_gravity="end" | |
| 56 android:text="@string/payments_pay_button" | |
| 57 android:textAllCaps="true" | |
| 58 android:textColor="@android:color/white" | |
| 59 android:textSize="14sp" | |
| 60 chrome:buttonColor="@color/light_active_color" | |
| 61 chrome:buttonRaised="false" /> | |
| 62 </org.chromium.chrome.browser.payments.ui.PaymentRequestBottomBar> | |
| OLD | NEW |