summaryrefslogtreecommitdiffstats
path: root/android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml
blob: 07483c5c593d3d64fca3346111e7dbe6cb5928a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
     Use of this source code is governed by a BSD-style license that can be
     found in the LICENSE file.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:gravity="center">
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">
        <EditText
            android:id="@+id/url_field"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1.0"
            android:singleLine="true"
            android:inputType="textUri"
            android:imeOptions="actionGo" />
        <ImageButton
            android:layout_width="wrap_content" 
            android:layout_height="match_parent" 
            android:src="@drawable/breadcrumb_arrow_black"
            android:contentDescription="@string/load_url"
            android:onClick="loadUrlFromUrlBar" />
        <ImageButton
            android:layout_width="wrap_content" 
            android:layout_height="match_parent" 
            android:src="@drawable/item_more_black"
            android:contentDescription="@string/menu_about"
            android:onClick="showPopup" />
    </LinearLayout>
</LinearLayout>