blob: e6abe7c75a78490e16609450f3123f268ffca1c2 [file] [log] [blame]
John Reck0f602f32011-07-07 15:38:43 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2011, The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
Bijan Amirzada41242f22014-03-21 12:12:18 -070017<com.android.browser.NavigationBarTablet
John Reck0f602f32011-07-07 15:38:43 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
Michael Kolbde463762011-07-14 15:25:45 -070021 <LinearLayout
22 android:id="@+id/navbuttons"
John Reck0f602f32011-07-07 15:38:43 -070023 android:layout_width="wrap_content"
John Reck5fc96f52011-07-18 10:00:46 -070024 android:layout_height="match_parent"
Michael Kolbde463762011-07-14 15:25:45 -070025 android:orientation="horizontal">
26 <ImageButton
27 android:id="@+id/back"
28 android:src="@drawable/ic_back_holo_dark"
29 android:layout_width="wrap_content"
30 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070031 android:contentDescription="@string/accessibility_button_back"
Michael Kolbde463762011-07-14 15:25:45 -070032 style="@style/HoloButton" />
33 <ImageButton
34 android:id="@+id/forward"
35 android:src="@drawable/ic_forward_holo_dark"
36 android:layout_width="wrap_content"
37 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070038 android:contentDescription="@string/accessibility_button_forward"
Michael Kolbde463762011-07-14 15:25:45 -070039 style="@style/HoloButton" />
40 <ImageButton
41 android:id="@+id/stop"
42 android:layout_width="wrap_content"
43 android:layout_height="match_parent"
44 style="@style/HoloButton"
45 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070046 android:contentDescription="@string/accessibility_button_stop"
Michael Kolbde463762011-07-14 15:25:45 -070047 android:src="@drawable/ic_stop_holo_dark" />
48 </LinearLayout>
John Reck0f602f32011-07-07 15:38:43 -070049 <LinearLayout
50 android:id="@+id/urlbar_focused"
51 android:layout_width="0dip"
52 android:layout_height="match_parent"
53 android:layout_weight="1.0"
John Reck0f602f32011-07-07 15:38:43 -070054 android:orientation="horizontal"
55 android:background="@drawable/url_background">
Axesh R. Ajmera2e241242014-05-19 15:53:38 -070056 <com.android.browser.LocationButton
57 android:id="@+id/location_button"
58 android:layout_width="32dip"
59 android:layout_height="20dip"
60 android:visibility="gone"
61 style="@style/HoloButton"
62 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070063 <ImageView
64 android:id="@+id/url_icon"
Michael Kolbbae0cb22012-05-29 11:15:27 -070065 android:layout_width="32dip"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080066 android:layout_height="20dip"
John Reck0f602f32011-07-07 15:38:43 -070067 android:src="@drawable/ic_web_holo_dark"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080068 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070069 <ImageView
70 android:id="@+id/lock"
71 android:layout_width="wrap_content"
Michael Kolbbae0cb22012-05-29 11:15:27 -070072 android:layout_height="wrap_content"
73 android:layout_gravity="center_vertical"
74 android:layout_marginLeft="0dip"
John Reck0f602f32011-07-07 15:38:43 -070075 style="@style/HoloIcon"
76 android:visibility="gone" />
Bijan Amirzada41242f22014-03-21 12:12:18 -070077 <com.android.browser.UrlInputView
John Reck0f602f32011-07-07 15:38:43 -070078 android:id="@+id/url"
79 android:layout_width="0dip"
80 android:layout_weight="1.0"
81 android:layout_height="match_parent"
Michael Kolbbae0cb22012-05-29 11:15:27 -070082 android:paddingLeft="4dip"
John Reck0f602f32011-07-07 15:38:43 -070083 android:paddingRight="0dip"
84 android:background="@null"
85 android:textAppearance="?android:attr/textAppearanceMedium"
86 android:hint="@string/search_hint"
87 android:singleLine="true"
88 android:ellipsize="end"
89 android:lines="1"
90 android:scrollHorizontally="true"
91 android:inputType="textUri"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070092 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
John Reck0f602f32011-07-07 15:38:43 -070093 style="@style/Suggestions" />
94 <ImageButton
95 android:id="@+id/star"
96 android:src="@drawable/btn_imageview_star"
97 android:layout_width="wrap_content"
98 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070099 android:contentDescription="@string/accessibility_button_addbookmark"
John Reck0f602f32011-07-07 15:38:43 -0700100 style="@style/HoloButton" />
101 <ImageButton
102 android:id="@+id/clear"
103 android:src="@drawable/ic_stop_holo_dark"
104 android:layout_width="wrap_content"
105 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -0700106 android:contentDescription="@string/accessibility_button_clear"
John Reck0f602f32011-07-07 15:38:43 -0700107 style="@style/HoloButton" />
Michael Kolb0b129122012-06-04 16:31:58 -0700108 <ImageButton
109 android:id="@+id/voice"
110 android:src="@drawable/ic_voice_search_holo_dark"
111 android:layout_width="wrap_content"
112 android:layout_height="match_parent"
113 android:contentDescription="@string/accessibility_button_voice"
114 style="@style/HoloButton" />
115 </LinearLayout>
John Reck0f602f32011-07-07 15:38:43 -0700116 <ImageButton
John Reck0f602f32011-07-07 15:38:43 -0700117 android:id="@+id/search"
118 android:src="@drawable/ic_search_holo_dark"
119 android:layout_width="wrap_content"
120 android:layout_height="match_parent"
121 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -0700122 android:contentDescription="@string/accessibility_button_search"
John Reck0f602f32011-07-07 15:38:43 -0700123 style="@style/HoloButton" />
124 <ImageButton
125 android:id="@+id/all_btn"
126 android:layout_width="wrap_content"
127 android:layout_height="match_parent"
128 android:scaleType="center"
John Reck0f602f32011-07-07 15:38:43 -0700129 style="@style/HoloButton"
Michael Kolb30adae62011-07-29 13:37:05 -0700130 android:contentDescription="@string/accessibility_button_bookmarks"
John Reck0f602f32011-07-07 15:38:43 -0700131 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Bijan Amirzada41242f22014-03-21 12:12:18 -0700132</com.android.browser.NavigationBarTablet>