Gray horizontal keyboard accessory
[chromium-blink-merge.git] / chrome / android / java / res / layout / main.xml
blobfbf478e2eaba53ca0dd7824d5931a2cbe369a84e
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="#FFF"
23             android:scrollbars="none"
24             android:visibility="gone" />
25     </LinearLayout>
27     <ViewStub
28         android:id="@+id/omnibox_results_container_stub"
29         android:layout_width="match_parent"
30         android:layout_height="match_parent"
31         android:layout_marginTop="@dimen/tab_strip_height"
32         android:inflatedId="@+id/omnibox_results_container"
33         android:layout="@layout/omnibox_results_container" />
35     <!-- Toolbar size area painted black to avoid the action bar showing the window background -->
36     <View
37         android:id="@+id/action_bar_black_background"
38         android:layout_width="match_parent"
39         android:layout_height="@dimen/toolbar_height_no_shadow"
40         android:background="#000000"
41         android:visibility="gone" />
42     <ViewStub
43         android:id="@+id/control_container_stub"
44         android:layout_width="match_parent"
45         android:layout_height="wrap_content" />
46     <ViewStub
47         android:id="@+id/empty_container_stub"
48         android:inflatedId="@+id/empty_container"
49         android:layout="@layout/empty_background_view"
50         android:layout_width="match_parent"
51         android:layout_height="match_parent"
52         />
53     <!-- This empty view is used as the anchor for custom menu -->
54     <View
55         android:id="@+id/menu_anchor_stub"
56         android:layout_width="0px"
57         android:layout_height="0px"
58         android:layout_gravity="bottom|start"
59         />
60 </merge>