OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 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 <merge xmlns:android="http://schemas.android.com/apk/res/android" | 6 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
7 xmlns:app="http://schemas.android.com/apk/res-auto" > | 7 xmlns:app="http://schemas.android.com/apk/res-auto" > |
8 <LinearLayout | 8 <LinearLayout |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="match_parent" | 10 android:layout_height="match_parent" |
11 android:orientation="vertical"> | 11 android:orientation="vertical"> |
12 | 12 |
13 <org.chromium.chrome.browser.compositor.CompositorViewHolder | 13 <org.chromium.chrome.browser.compositor.CompositorViewHolder |
14 android:id="@+id/compositor_view_holder" | 14 android:id="@+id/compositor_view_holder" |
15 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
16 android:layout_height="0dp" | 16 android:layout_height="0dp" |
17 android:layout_weight="1" > | 17 android:layout_weight="1" > |
18 | 18 |
19 <ViewStub | 19 <ViewStub |
20 android:id="@+id/omnibox_results_container_stub" | 20 android:id="@+id/omnibox_results_container_stub" |
21 android:layout_width="match_parent" | 21 android:layout_width="match_parent" |
22 android:layout_height="match_parent" | 22 android:layout_height="match_parent" |
23 android:layout_marginTop="@dimen/tab_strip_height" | 23 android:layout_marginTop="@dimen/tab_strip_height" |
24 android:inflatedId="@+id/omnibox_results_container" | 24 android:inflatedId="@+id/omnibox_results_container" |
25 android:layout="@layout/omnibox_results_container" | 25 android:layout="@layout/omnibox_results_container" |
26 app:layout_behavior="org.chromium.chrome.browser.compositor.Comp ositorViewHolderBehavior" /> | 26 app:layout_behavior="org.chromium.chrome.browser.compositor.Comp ositorViewHolderBehavior" /> |
27 | 27 |
28 <!-- Toolbar size area painted black to avoid the action bar showing the window background --> | |
29 <View | |
30 android:id="@+id/action_bar_black_background" | |
31 android:layout_width="match_parent" | |
32 android:layout_height="@dimen/toolbar_height_no_shadow" | |
33 android:background="#000000" | |
Ian Wen
2016/12/09 19:03:06
Nit: use @android:color/black here.
mdjones
2016/12/09 21:48:11
Done.
| |
34 android:visibility="gone" /> | |
35 <ViewStub | |
36 android:id="@+id/control_container_stub" | |
37 android:layout_width="match_parent" | |
38 android:layout_height="wrap_content" | |
39 app:layout_behavior="org.chromium.chrome.browser.compositor.Comp ositorViewHolderBehavior" /> | |
40 <ViewStub | |
41 android:id="@+id/empty_container_stub" | |
42 android:inflatedId="@+id/empty_container" | |
43 android:layout="@layout/empty_background_view_tablet" | |
44 android:layout_width="match_parent" | |
45 android:layout_height="match_parent" /> | |
46 | |
28 </org.chromium.chrome.browser.compositor.CompositorViewHolder> | 47 </org.chromium.chrome.browser.compositor.CompositorViewHolder> |
29 | 48 |
30 <HorizontalScrollView | 49 <HorizontalScrollView |
31 android:id="@+id/keyboard_accessory" | 50 android:id="@+id/keyboard_accessory" |
32 android:layout_height="@dimen/keyboard_accessory_height" | 51 android:layout_height="@dimen/keyboard_accessory_height" |
33 android:layout_width="match_parent" | 52 android:layout_width="match_parent" |
34 android:background="@drawable/keyboard_accessory_background" | 53 android:background="@drawable/keyboard_accessory_background" |
35 android:contentDescription="@string/autofill_keyboard_accessory_cont ent_description" | 54 android:contentDescription="@string/autofill_keyboard_accessory_cont ent_description" |
36 android:fillViewport="true" | 55 android:fillViewport="true" |
37 android:scrollbars="none" | 56 android:scrollbars="none" |
38 android:visibility="gone" /> | 57 android:visibility="gone" /> |
39 | 58 |
40 <ViewStub | 59 <ViewStub |
41 android:id="@+id/bottombar_stub" | 60 android:id="@+id/bottombar_stub" |
42 android:layout_width="match_parent" | 61 android:layout_width="match_parent" |
43 android:layout_marginTop="-4dp" | 62 android:layout_marginTop="-4dp" |
44 android:layout_height="wrap_content" /> | 63 android:layout_height="wrap_content" /> |
45 </LinearLayout> | 64 </LinearLayout> |
46 | 65 |
47 <!-- Toolbar size area painted black to avoid the action bar showing the win dow background --> | |
48 <View | |
49 android:id="@+id/action_bar_black_background" | |
50 android:layout_width="match_parent" | |
51 android:layout_height="@dimen/toolbar_height_no_shadow" | |
52 android:background="#000000" | |
53 android:visibility="gone" /> | |
54 <ViewStub | |
55 android:id="@+id/control_container_stub" | |
56 android:layout_width="match_parent" | |
57 android:layout_height="wrap_content" /> | |
58 <ViewStub | |
59 android:id="@+id/empty_container_stub" | |
60 android:inflatedId="@+id/empty_container" | |
61 android:layout="@layout/empty_background_view_tablet" | |
62 android:layout_width="match_parent" | |
63 android:layout_height="match_parent" /> | |
64 <!-- This empty view is used as the anchor for custom menu --> | 66 <!-- This empty view is used as the anchor for custom menu --> |
65 <View | 67 <View |
66 android:id="@+id/menu_anchor_stub" | 68 android:id="@+id/menu_anchor_stub" |
67 android:layout_width="0px" | 69 android:layout_width="0px" |
68 android:layout_height="0px" | 70 android:layout_height="0px" |
69 android:layout_gravity="bottom|start" | 71 android:layout_gravity="bottom|start" |
70 /> | 72 /> |
71 </merge> | 73 </merge> |
OLD | NEW |