Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / main.xml
blob0d135a74b090720bbf89fefde71744adbedb9e9e
1 <?xml version="1.0" encoding="utf-8"?>
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
4      found in the LICENSE file. -->
6 <merge xmlns:android="http://schemas.android.com/apk/res/android">
7     <LinearLayout
8         android:layout_width="match_parent"
9         android:layout_height="match_parent"
10         android:orientation="vertical">
12         <org.chromium.chrome.browser.compositor.CompositorViewHolder
13             android:id="@+id/compositor_view_holder"
14             android:layout_width="match_parent"
15             android:layout_height="0dp"
16             android:layout_weight="1" />
18         <HorizontalScrollView
19             android:id="@+id/keyboard_accessory"
20             android:layout_height="@dimen/keyboard_accessory_height"
21             android:layout_width="match_parent"
22             android:background="@drawable/keyboard_accessory_background"
23             android:contentDescription="@string/autofill_keyboard_accessory_content_description"
24             android:fillViewport="true"
25             android:scrollbars="none"
26             android:visibility="gone" />
27     </LinearLayout>
29     <ViewStub
30         android:id="@+id/omnibox_results_container_stub"
31         android:layout_width="match_parent"
32         android:layout_height="match_parent"
33         android:layout_marginTop="@dimen/tab_strip_height"
34         android:inflatedId="@+id/omnibox_results_container"
35         android:layout="@layout/omnibox_results_container" />
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="#000000"
43         android:visibility="gone" />
44     <ViewStub
45         android:id="@+id/control_container_stub"
46         android:layout_width="match_parent"
47         android:layout_height="wrap_content" />
48     <ViewStub
49         android:id="@+id/empty_container_stub"
50         android:inflatedId="@+id/empty_container"
51         android:layout="@layout/empty_background_view"
52         android:layout_width="match_parent"
53         android:layout_height="match_parent"
54         />
55     <!-- This empty view is used as the anchor for custom menu -->
56     <View
57         android:id="@+id/menu_anchor_stub"
58         android:layout_width="0px"
59         android:layout_height="0px"
60         android:layout_gravity="bottom|start"
61         />
62 </merge>