Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / android_webview / tools / WebViewShell / res / layout / activity_webview_browser.xml
blobc7c3fc9ec79d8445f04fe63eea70e4bdaa171658
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.
5 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8     xmlns:tools="http://schemas.android.com/tools"
9     android:id="@+id/container"
10     android:layout_width="match_parent"
11     android:layout_height="match_parent"
12     android:orientation="vertical"
13     android:gravity="center">
14     <LinearLayout
15         android:orientation="horizontal"
16         android:layout_width="fill_parent"
17         android:layout_height="wrap_content">
18         <EditText
19             android:id="@+id/url_field"
20             android:layout_width="wrap_content"
21             android:layout_height="wrap_content"
22             android:layout_weight="1.0"
23             android:singleLine="true"
24             android:inputType="textUri"
25             android:imeOptions="actionGo" />
26         <ImageButton
27             android:layout_width="wrap_content" 
28             android:layout_height="match_parent" 
29             android:src="@drawable/breadcrumb_arrow_black"
30             android:contentDescription="@string/load_url"
31             android:onClick="loadUrlFromUrlBar" />
32         <ImageButton
33             android:layout_width="wrap_content" 
34             android:layout_height="match_parent" 
35             android:src="@drawable/item_more_black"
36             android:contentDescription="about webview"
37             android:onClick="showPopup" />
38     </LinearLayout>
39     <WebView
40         android:id="@+id/webview"
41         android:layout_width="match_parent"
42         android:layout_height="match_parent" />
43 </LinearLayout>