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="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="@string/menu_about" 37 android:onClick="showPopup" /> 38 </LinearLayout> 39 </LinearLayout> 40