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--> 6 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="match_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:selectAllOnFocus="true" 26 android:imeOptions="actionGo" 27 android:importantForAutofill="no" /> 28 <ImageButton 29 android:layout_width="wrap_content" 30 android:layout_height="match_parent" 31 android:src="@drawable/breadcrumb_arrow_black" 32 android:contentDescription="@string/load_url" 33 android:onClick="loadUrlFromUrlBar" /> 34 <ImageButton 35 android:layout_width="wrap_content" 36 android:layout_height="match_parent" 37 android:src="@drawable/item_more_black" 38 android:contentDescription="@string/menu_about" 39 android:onClick="showPopup" /> 40 </LinearLayout> 41</LinearLayout> 42