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