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 <RelativeLayout | 7 <RelativeLayout |
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:background="@android:color/white" > | 10 android:background="@android:color/white" > |
11 | 11 |
12 <!-- Toolbar --> | 12 <!-- Toolbar --> |
13 <org.chromium.chrome.browser.payments.ui.EditorDialogToolbar | 13 <org.chromium.chrome.browser.payments.ui.EditorDialogToolbar |
14 android:id="@+id/action_bar" | 14 android:id="@+id/action_bar" |
15 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
16 android:layout_height="?attr/actionBarSize" | 16 android:layout_height="?attr/actionBarSize" |
17 android:layout_alignParentTop="true" | 17 android:layout_alignParentTop="true" |
18 android:layout_alignParentStart="true" | 18 android:layout_alignParentStart="true" |
19 android:layout_alignParentEnd="true" | 19 android:layout_alignParentEnd="true" |
20 android:background="@color/dark_action_bar_color" /> | 20 android:background="@color/dark_action_bar_color" /> |
21 | 21 |
22 <!-- All the page content in scrollable form. --> | 22 <!-- All the page content in scrollable form. --> |
23 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView | 23 <org.chromium.chrome.browser.widget.FadingEdgeScrollView |
24 android:id="@+id/scroll_view" | 24 android:id="@+id/scroll_view" |
25 android:layout_height="0dp" | 25 android:layout_height="0dp" |
26 android:layout_width="match_parent" | 26 android:layout_width="match_parent" |
27 android:layout_below="@id/action_bar" | 27 android:layout_below="@id/action_bar" |
28 android:layout_alignParentBottom="true" | 28 android:layout_alignParentBottom="true" |
29 android:layout_alignParentStart="true" | 29 android:layout_alignParentStart="true" |
30 android:layout_alignParentEnd="true" > | 30 android:layout_alignParentEnd="true" > |
31 | 31 |
32 <LinearLayout | 32 <LinearLayout |
33 android:id="@+id/contents" | 33 android:id="@+id/contents" |
34 android:layout_width="match_parent" | 34 android:layout_width="match_parent" |
35 android:layout_height="wrap_content" | 35 android:layout_height="wrap_content" |
36 android:paddingStart="@dimen/pref_autofill_content_spacing" | 36 android:paddingStart="@dimen/pref_autofill_content_spacing" |
37 android:paddingEnd="@dimen/pref_autofill_content_spacing" | 37 android:paddingEnd="@dimen/pref_autofill_content_spacing" |
38 android:orientation="vertical" /> | 38 android:orientation="vertical" /> |
39 | 39 |
40 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView> | 40 </org.chromium.chrome.browser.widget.FadingEdgeScrollView> |
41 | 41 |
42 <!-- Shadow overlaps the FadingEdgeScrollView. --> | 42 <!-- Shadow overlaps the FadingEdgeScrollView. --> |
43 <org.chromium.chrome.browser.widget.FadingShadowView | 43 <org.chromium.chrome.browser.widget.FadingShadowView |
44 android:id="@+id/shadow" | 44 android:id="@+id/shadow" |
45 android:layout_width="match_parent" | 45 android:layout_width="match_parent" |
46 android:layout_height="@dimen/action_bar_shadow_height" | 46 android:layout_height="@dimen/action_bar_shadow_height" |
47 android:layout_below="@id/action_bar" | 47 android:layout_below="@id/action_bar" |
48 android:layout_alignParentStart="true" | 48 android:layout_alignParentStart="true" |
49 android:layout_alignParentEnd="true" /> | 49 android:layout_alignParentEnd="true" /> |
50 | 50 |
51 </RelativeLayout> | 51 </RelativeLayout> |
OLD | NEW |