| <?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="match_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:selectAllOnFocus="true" |
| android:imeOptions="actionGo" |
| android:importantForAutofill="no" /> |
| <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> |