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 <org.chromium.chrome.browser.widget.BottomSheet | 6 <org.chromium.chrome.browser.widget.BottomSheet |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:id="@+id/bottom_sheet" | 8 android:id="@+id/bottom_sheet" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="wrap_content" > | 10 android:layout_height="wrap_content" > |
11 | 11 |
12 <org.chromium.chrome.browser.toolbar.ToolbarControlContainer | 12 <org.chromium.chrome.browser.toolbar.ToolbarControlContainer |
13 android:id="@+id/control_container" | 13 android:id="@+id/control_container" |
14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
15 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
16 android:minHeight="@dimen/bottom_control_container_height" > | 16 android:minHeight="@dimen/bottom_control_container_height" > |
17 | 17 |
18 <view | 18 <view |
19 class="org.chromium.chrome.browser.toolbar.ToolbarControlContainer$T
oolbarViewResourceFrameLayout" | 19 class="org.chromium.chrome.browser.toolbar.ToolbarControlContainer$T
oolbarViewResourceFrameLayout" |
20 android:id="@+id/toolbar_container" | 20 android:id="@+id/toolbar_container" |
21 android:layout_width="match_parent" | 21 android:layout_width="match_parent" |
22 android:layout_height="wrap_content" > | 22 android:layout_height="wrap_content" > |
| 23 |
23 <ImageView | 24 <ImageView |
24 android:id="@+id/bottom_toolbar_shadow" | 25 android:id="@+id/bottom_toolbar_shadow" |
25 android:layout_width="match_parent" | 26 android:layout_width="match_parent" |
26 android:layout_height="@dimen/toolbar_shadow_height" | 27 android:layout_height="@dimen/toolbar_shadow_height" |
27 android:src="@drawable/toolbar_shadow" | 28 android:src="@drawable/toolbar_shadow" |
28 android:scaleType="fitXY" | 29 android:scaleType="fitXY" |
29 android:scaleY="-1" | 30 android:scaleY="-1" |
30 android:contentDescription="@null" /> | 31 android:contentDescription="@null" /> |
31 <ViewStub | 32 |
32 android:id="@+id/toolbar_stub" | 33 <FrameLayout |
| 34 android:id="@+id/toolbar_holder" |
33 android:layout_width="match_parent" | 35 android:layout_width="match_parent" |
34 android:layout_height="@dimen/bottom_control_container_height" | 36 android:layout_height="@dimen/bottom_control_container_height" |
35 android:layout_marginTop="@dimen/toolbar_shadow_height" /> | 37 android:layout_marginTop="@dimen/toolbar_shadow_height" > |
| 38 |
| 39 <ViewStub |
| 40 android:id="@+id/toolbar_stub" |
| 41 android:layout_width="match_parent" |
| 42 android:layout_height="match_parent" /> |
| 43 |
| 44 </FrameLayout> |
| 45 |
36 <ViewStub | 46 <ViewStub |
37 android:id="@+id/find_toolbar_stub" | 47 android:id="@+id/find_toolbar_stub" |
38 android:inflatedId="@+id/find_toolbar" | 48 android:inflatedId="@+id/find_toolbar" |
39 android:layout_marginTop="@dimen/toolbar_shadow_height" | 49 android:layout_marginTop="@dimen/toolbar_shadow_height" |
40 android:layout_width="match_parent" | 50 android:layout_width="match_parent" |
41 android:layout_height="@dimen/bottom_control_container_height" | 51 android:layout_height="@dimen/bottom_control_container_height" |
42 android:layout="@layout/find_toolbar" /> | 52 android:layout="@layout/find_toolbar" /> |
| 53 |
43 <ImageView | 54 <ImageView |
44 android:id="@+id/toolbar_handle" | 55 android:id="@+id/toolbar_handle" |
45 android:layout_width="@dimen/toolbar_handle_width" | 56 android:layout_width="@dimen/toolbar_handle_width" |
46 android:layout_height="@dimen/toolbar_handle_height" | 57 android:layout_height="@dimen/toolbar_handle_height" |
47 android:layout_marginTop="@dimen/toolbar_handle_margin_top" | 58 android:layout_marginTop="@dimen/toolbar_handle_margin_top" |
48 android:layout_gravity="center|top" | 59 android:layout_gravity="center|top" |
49 android:contentDescription="@null" /> | 60 android:contentDescription="@null" /> |
50 </view> | 61 </view> |
51 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> | 62 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> |
52 | 63 |
(...skipping 12 matching lines...) Expand all Loading... |
65 | 76 |
66 <ImageView | 77 <ImageView |
67 android:id="@+id/toolbar_shadow" | 78 android:id="@+id/toolbar_shadow" |
68 android:src="@drawable/toolbar_shadow" | 79 android:src="@drawable/toolbar_shadow" |
69 android:layout_width="match_parent" | 80 android:layout_width="match_parent" |
70 android:layout_height="wrap_content" | 81 android:layout_height="wrap_content" |
71 android:scaleType="fitXY" | 82 android:scaleType="fitXY" |
72 android:contentDescription="@null" /> | 83 android:contentDescription="@null" /> |
73 | 84 |
74 </org.chromium.chrome.browser.widget.BottomSheet> | 85 </org.chromium.chrome.browser.widget.BottomSheet> |
OLD | NEW |