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.BottomSheet | 6 <org.chromium.chrome.browser.widget.bottomsheet.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" > |
(...skipping 16 matching lines...) Expand all Loading... |
27 android:layout_height="@dimen/toolbar_shadow_height" | 27 android:layout_height="@dimen/toolbar_shadow_height" |
28 android:src="@drawable/toolbar_shadow" | 28 android:src="@drawable/toolbar_shadow" |
29 android:scaleType="fitXY" | 29 android:scaleType="fitXY" |
30 android:scaleY="-1" | 30 android:scaleY="-1" |
31 android:contentDescription="@null" /> | 31 android:contentDescription="@null" /> |
32 | 32 |
33 <FrameLayout | 33 <FrameLayout |
34 android:id="@+id/toolbar_holder" | 34 android:id="@+id/toolbar_holder" |
35 android:layout_width="match_parent" | 35 android:layout_width="match_parent" |
36 android:layout_height="@dimen/bottom_control_container_height" | 36 android:layout_height="@dimen/bottom_control_container_height" |
37 android:layout_marginTop="@dimen/toolbar_shadow_height" | 37 android:layout_marginTop="@dimen/toolbar_shadow_height" > |
38 android:background="@color/default_primary_color" > | |
39 | 38 |
40 <ViewStub | 39 <ViewStub |
41 android:id="@+id/toolbar_stub" | 40 android:id="@+id/toolbar_stub" |
42 android:layout_width="match_parent" | 41 android:layout_width="match_parent" |
43 android:layout_height="match_parent" /> | 42 android:layout_height="match_parent" /> |
44 | 43 |
45 </FrameLayout> | 44 </FrameLayout> |
46 | 45 |
47 <ImageView | 46 <ImageView |
48 android:id="@+id/toolbar_handle" | 47 android:id="@+id/toolbar_handle" |
(...skipping 11 matching lines...) Expand all Loading... |
60 android:layout_height="@dimen/bottom_control_container_height" | 59 android:layout_height="@dimen/bottom_control_container_height" |
61 android:layout="@layout/find_toolbar" /> | 60 android:layout="@layout/find_toolbar" /> |
62 | 61 |
63 </view> | 62 </view> |
64 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> | 63 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> |
65 | 64 |
66 <FrameLayout | 65 <FrameLayout |
67 android:id="@+id/bottom_sheet_content" | 66 android:id="@+id/bottom_sheet_content" |
68 android:layout_width="match_parent" | 67 android:layout_width="match_parent" |
69 android:layout_height="match_parent" | 68 android:layout_height="match_parent" |
70 android:paddingBottom="@dimen/bottom_nav_height" | 69 android:paddingBottom="@dimen/bottom_nav_height" /> |
71 android:background="@color/default_primary_color" /> | |
72 | 70 |
73 <ViewStub | 71 <ViewStub |
74 android:id="@+id/bottom_omnibox_results_container_stub" | 72 android:id="@+id/bottom_omnibox_results_container_stub" |
75 android:layout_width="match_parent" | 73 android:layout_width="match_parent" |
76 android:layout_height="wrap_content" | 74 android:layout_height="wrap_content" |
77 android:inflatedId="@+id/omnibox_results_container" | 75 android:inflatedId="@+id/omnibox_results_container" |
78 android:layout="@layout/omnibox_results_container" /> | 76 android:layout="@layout/omnibox_results_container" /> |
79 | 77 |
80 <ImageView | 78 <ImageView |
81 android:id="@+id/toolbar_shadow" | 79 android:id="@+id/toolbar_shadow" |
82 android:src="@drawable/bottom_toolbar_shadow" | 80 android:src="@drawable/bottom_toolbar_shadow" |
83 android:layout_width="match_parent" | 81 android:layout_width="match_parent" |
84 android:layout_height="wrap_content" | 82 android:layout_height="wrap_content" |
85 android:scaleType="fitXY" | 83 android:scaleType="fitXY" |
86 android:contentDescription="@null" /> | 84 android:contentDescription="@null" /> |
87 | 85 |
88 </org.chromium.chrome.browser.widget.bottomsheet.BottomSheet> | 86 </org.chromium.chrome.browser.widget.bottomsheet.BottomSheet> |
OLD | NEW |