OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <!-- PaymentRequestUI editor dialog. --> | 6 <!-- PaymentRequestUI editor dialog. --> |
7 <LinearLayout | 7 <LinearLayout |
8 xmlns:android="http://schemas.android.com/apk/res/android" | 8 xmlns:android="http://schemas.android.com/apk/res/android" |
9 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 9 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
10 android:orientation="vertical" > | 10 android:orientation="vertical" > |
(...skipping 13 matching lines...) Expand all Loading... |
24 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView | 24 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView |
25 android:id="@+id/scroll_view" | 25 android:id="@+id/scroll_view" |
26 android:layout_height="0dp" | 26 android:layout_height="0dp" |
27 android:layout_width="match_parent" | 27 android:layout_width="match_parent" |
28 android:layout_weight="1" > | 28 android:layout_weight="1" > |
29 | 29 |
30 <LinearLayout | 30 <LinearLayout |
31 android:id="@+id/contents" | 31 android:id="@+id/contents" |
32 android:layout_width="match_parent" | 32 android:layout_width="match_parent" |
33 android:layout_height="wrap_content" | 33 android:layout_height="wrap_content" |
34 android:paddingStart="@dimen/payments_section_large_spacing" | 34 android:paddingStart="@dimen/pref_autofill_content_spacing" |
35 android:paddingEnd="@dimen/payments_section_large_spacing" | 35 android:paddingEnd="@dimen/pref_autofill_content_spacing" |
36 android:orientation="vertical" > | 36 android:orientation="vertical" /> |
37 | |
38 <TextView | |
39 android:layout_width="match_parent" | |
40 android:layout_height="wrap_content" | |
41 android:layout_marginTop="8dp" | |
42 android:layout_marginBottom="16dp" | |
43 android:textColor="@color/descriptive_text_color" | |
44 android:textSize="12sp" | |
45 android:text="@string/payments_required_field_message" /> | |
46 | |
47 </LinearLayout> | |
48 | 37 |
49 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView> | 38 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView> |
50 | 39 |
51 <!-- CANCEL and DONE buttons. --> | 40 <!-- CANCEL and DONE buttons. --> |
52 <org.chromium.chrome.browser.widget.DualControlLayout | 41 <org.chromium.chrome.browser.widget.DualControlLayout |
53 android:id="@+id/button_bar" | 42 android:id="@+id/button_bar" |
54 android:layout_width="match_parent" | 43 android:layout_width="match_parent" |
55 android:layout_height="wrap_content" | 44 android:layout_height="wrap_content" |
56 android:padding="@dimen/payments_section_large_spacing" | 45 android:padding="@dimen/payments_section_large_spacing" |
57 android:background="@android:color/white" | 46 android:background="@android:color/white" |
58 chrome:stackedMargin="@dimen/infobar_margin_between_stacked_buttons" | 47 chrome:stackedMargin="@dimen/infobar_margin_between_stacked_buttons" |
59 chrome:primaryButtonText="@string/done" | 48 chrome:primaryButtonText="@string/done" |
60 chrome:secondaryButtonText="@string/cancel" /> | 49 chrome:secondaryButtonText="@string/cancel" /> |
61 | 50 |
62 </LinearLayout> | 51 </LinearLayout> |
OLD | NEW |