Upstream version 9.37.195.0
[platform/framework/web/crosswalk.git] / src / chrome / android / shell / res / layout / chrome_shell_activity.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4
5      Use of this source code is governed by a BSD-style license that can be
6      found in the LICENSE file.
7  -->
8
9 <org.chromium.chrome.shell.TabManager android:id="@+id/tab_manager"
10     xmlns:android="http://schemas.android.com/apk/res/android"
11     android:layout_width="match_parent"
12     android:layout_height="match_parent"
13     android:orientation="vertical">
14     <org.chromium.chrome.shell.ChromeShellToolbar android:id="@+id/toolbar"
15         android:layout_width="match_parent"
16         android:layout_height="wrap_content"
17         android:orientation="horizontal"
18         android:background="@drawable/progress">
19         <EditText android:id="@+id/url"
20             android:layout_width="0dp"
21             android:layout_height="wrap_content"
22             android:layout_weight="1"
23             android:gravity="bottom"
24             android:textSize="18sp"
25             android:autoText="true"
26             android:capitalize="sentences"
27             android:singleLine="true"
28             android:selectAllOnFocus="true"
29             android:hint="@string/url_hint"
30             android:inputType="textUri"
31             android:imeOptions="actionGo|flagNoExtractUi" />
32         <ImageButton android:id="@+id/menu_button"
33             android:layout_width="38dp"
34             android:layout_height="38dp"
35             android:src="@drawable/btn_menu"
36             android:background="?android:attr/selectableItemBackground"
37             android:scaleType="center" />
38     </org.chromium.chrome.shell.ChromeShellToolbar>
39     <FrameLayout android:id="@+id/content_container"
40         android:layout_width="match_parent"
41         android:layout_height="0dp"
42         android:layout_weight="1">
43     </FrameLayout>
44
45 </org.chromium.chrome.shell.TabManager>