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 dialog | 6 <!-- PaymentRequestUI dialog |
7 Sits at the bottom of the screen like a Bottom Sheet. | 7 Sits at the bottom of the screen like a Bottom Sheet. |
8 --> | 8 --> |
9 <org.chromium.chrome.browser.widget.BoundedLinearLayout | 9 <org.chromium.chrome.browser.widget.BoundedLinearLayout |
10 xmlns:android="http://schemas.android.com/apk/res/android" | 10 xmlns:android="http://schemas.android.com/apk/res/android" |
11 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 11 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
12 android:orientation="vertical" | 12 android:orientation="vertical" |
13 android:gravity="center" | 13 android:gravity="center" |
14 chrome:maxWidth="@dimen/payments_ui_max_dialog_width" | 14 chrome:maxWidth="@dimen/payments_ui_max_dialog_width" |
15 android:background="@android:color/white" > | 15 android:background="@android:color/white" > |
16 | 16 |
17 <include layout="@layout/payment_request_header" /> | 17 <include layout="@layout/payment_request_header" /> |
18 <include layout="@layout/payment_request_spinny" /> | 18 <include layout="@layout/payment_request_spinny" /> |
19 | 19 |
20 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView | 20 <org.chromium.chrome.browser.widget.FadingEdgeScrollView |
21 android:id="@+id/option_container" | 21 android:id="@+id/option_container" |
22 android:layout_height="0dp" | 22 android:layout_height="0dp" |
23 android:layout_width="match_parent" | 23 android:layout_width="match_parent" |
24 android:layout_weight="1" | 24 android:layout_weight="1" |
25 android:visibility="gone" > | 25 android:visibility="gone" > |
26 | 26 |
27 <LinearLayout | 27 <LinearLayout |
28 android:id="@+id/payment_container_layout" | 28 android:id="@+id/payment_container_layout" |
29 android:layout_width="match_parent" | 29 android:layout_width="match_parent" |
30 android:layout_height="wrap_content" | 30 android:layout_height="wrap_content" |
31 android:orientation="vertical" /> | 31 android:orientation="vertical" /> |
32 | 32 |
33 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView> | 33 </org.chromium.chrome.browser.widget.FadingEdgeScrollView> |
34 | 34 |
35 <include layout="@layout/payment_request_bottom_bar" /> | 35 <include layout="@layout/payment_request_bottom_bar" /> |
36 | 36 |
37 </org.chromium.chrome.browser.widget.BoundedLinearLayout> | 37 </org.chromium.chrome.browser.widget.BoundedLinearLayout> |
OLD | NEW |