- add sources.
[platform/framework/web/crosswalk.git] / src / content / shell / android / java / res / layout / shell_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!-- Copyright (c) 2012 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.content_shell.Shell
10     xmlns:android="http://schemas.android.com/apk/res/android"
11     android:id="@+id/container"
12     android:layout_width="match_parent"
13     android:layout_height="match_parent"
14     android:orientation="vertical" >
15     <LinearLayout android:id="@+id/toolbar"
16         android:layout_width="match_parent"
17         android:layout_height="wrap_content"
18         android:orientation="horizontal"
19         android:background="@drawable/progress">
20         <EditText android:id="@+id/url"
21             android:layout_width="0dp"
22             android:layout_height="wrap_content"
23             android:layout_weight="1"
24             android:gravity="bottom"
25             android:textSize="18sp"
26             android:autoText="true"
27             android:capitalize="sentences"
28             android:singleLine="true"
29             android:selectAllOnFocus="true"
30             android:hint="@string/url_hint"
31             android:inputType="textUri"
32             android:imeOptions="actionGo" />
33         <ImageButton android:id="@+id/prev"
34             android:layout_width="38dp"
35             android:layout_height="38dp"
36             android:src="@android:drawable/ic_media_previous"
37             android:scaleType="center" />
38         <ImageButton android:id="@+id/next"
39             android:layout_width="38dp"
40             android:layout_height="38dp"
41             android:src="@android:drawable/ic_media_next"
42             android:scaleType="center" />
43     </LinearLayout>
44     <FrameLayout android:id="@+id/contentview_holder"
45         android:layout_width="match_parent"
46         android:layout_height="0dp"
47         android:layout_weight="1" />
48 </org.chromium.content_shell.Shell>