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" > | |
8 <LinearLayout | 7 <LinearLayout |
9 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
10 android:layout_height="match_parent" | 9 android:layout_height="match_parent" |
11 android:orientation="vertical"> | 10 android:orientation="vertical"> |
12 | 11 |
13 <android.support.design.widget.CoordinatorLayout | 12 <android.support.design.widget.CoordinatorLayout |
14 android:id="@+id/coordinator" | 13 android:id="@+id/coordinator" |
15 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
16 android:layout_height="0dp" | 15 android:layout_height="0dp" |
17 android:layout_weight="1" > | 16 android:layout_weight="1" > |
(...skipping 10 matching lines...) Expand all Loading... |
28 android:layout_marginTop="@dimen/tab_strip_height" | 27 android:layout_marginTop="@dimen/tab_strip_height" |
29 android:inflatedId="@+id/omnibox_results_container" | 28 android:inflatedId="@+id/omnibox_results_container" |
30 android:layout="@layout/omnibox_results_container" /> | 29 android:layout="@layout/omnibox_results_container" /> |
31 | 30 |
32 <FrameLayout | 31 <FrameLayout |
33 android:id="@+id/bottom_container" | 32 android:id="@+id/bottom_container" |
34 android:layout_width="match_parent" | 33 android:layout_width="match_parent" |
35 android:layout_height="match_parent" | 34 android:layout_height="match_parent" |
36 android:layout_gravity="start|bottom" /> | 35 android:layout_gravity="start|bottom" /> |
37 | 36 |
| 37 <!-- Toolbar size area painted black to avoid the action bar showing
the window background --> |
| 38 <View |
| 39 android:id="@+id/action_bar_black_background" |
| 40 android:layout_width="match_parent" |
| 41 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 42 android:background="@android:color/black" |
| 43 android:visibility="gone" /> |
| 44 |
| 45 <ViewStub |
| 46 android:id="@+id/control_container_stub" |
| 47 android:layout_width="match_parent" |
| 48 android:layout_height="wrap_content" /> |
| 49 |
| 50 <ViewStub |
| 51 android:id="@+id/empty_container_stub" |
| 52 android:inflatedId="@+id/empty_container" |
| 53 android:layout="@layout/empty_background_view_tablet" |
| 54 android:layout_width="match_parent" |
| 55 android:layout_height="match_parent" /> |
| 56 |
38 </android.support.design.widget.CoordinatorLayout> | 57 </android.support.design.widget.CoordinatorLayout> |
39 | 58 |
40 <HorizontalScrollView | 59 <HorizontalScrollView |
41 android:id="@+id/keyboard_accessory" | 60 android:id="@+id/keyboard_accessory" |
42 android:layout_height="@dimen/keyboard_accessory_height" | 61 android:layout_height="@dimen/keyboard_accessory_height" |
43 android:layout_width="match_parent" | 62 android:layout_width="match_parent" |
44 android:background="@drawable/keyboard_accessory_background" | 63 android:background="@drawable/keyboard_accessory_background" |
45 android:contentDescription="@string/autofill_keyboard_accessory_cont
ent_description" | 64 android:contentDescription="@string/autofill_keyboard_accessory_cont
ent_description" |
46 android:fillViewport="true" | 65 android:fillViewport="true" |
47 android:scrollbars="none" | 66 android:scrollbars="none" |
48 android:visibility="gone" /> | 67 android:visibility="gone" /> |
49 | 68 |
50 <ViewStub | 69 <ViewStub |
51 android:id="@+id/bottombar_stub" | 70 android:id="@+id/bottombar_stub" |
52 android:layout_width="match_parent" | 71 android:layout_width="match_parent" |
53 android:layout_marginTop="-4dp" | 72 android:layout_marginTop="-4dp" |
54 android:layout_height="wrap_content" /> | 73 android:layout_height="wrap_content" /> |
55 </LinearLayout> | 74 </LinearLayout> |
56 | 75 |
57 <!-- Toolbar size area painted black to avoid the action bar showing the win
dow background --> | |
58 <View | |
59 android:id="@+id/action_bar_black_background" | |
60 android:layout_width="match_parent" | |
61 android:layout_height="@dimen/toolbar_height_no_shadow" | |
62 android:background="#000000" | |
63 android:visibility="gone" /> | |
64 <ViewStub | |
65 android:id="@+id/control_container_stub" | |
66 android:layout_width="match_parent" | |
67 android:layout_height="wrap_content" /> | |
68 <ViewStub | |
69 android:id="@+id/empty_container_stub" | |
70 android:inflatedId="@+id/empty_container" | |
71 android:layout="@layout/empty_background_view_tablet" | |
72 android:layout_width="match_parent" | |
73 android:layout_height="match_parent" /> | |
74 <!-- This empty view is used as the anchor for custom menu --> | 76 <!-- This empty view is used as the anchor for custom menu --> |
75 <View | 77 <View |
76 android:id="@+id/menu_anchor_stub" | 78 android:id="@+id/menu_anchor_stub" |
77 android:layout_width="0px" | 79 android:layout_width="0px" |
78 android:layout_height="0px" | 80 android:layout_height="0px" |
79 android:layout_gravity="bottom|start" | 81 android:layout_gravity="bottom|start" |
80 /> | 82 /> |
81 </merge> | 83 </merge> |
OLD | NEW |