blob: 450029e0b5f29069b739f35e5374be94c6c4adf5 [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 Amirzada9b1e9882014-02-26 17:15:46 -080017<com.android.swe.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">
56 <ImageView
57 android:id="@+id/url_icon"
Michael Kolbbae0cb22012-05-29 11:15:27 -070058 android:layout_width="32dip"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080059 android:layout_height="20dip"
John Reck0f602f32011-07-07 15:38:43 -070060 android:src="@drawable/ic_web_holo_dark"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080061 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070062 <ImageView
63 android:id="@+id/lock"
64 android:layout_width="wrap_content"
Michael Kolbbae0cb22012-05-29 11:15:27 -070065 android:layout_height="wrap_content"
66 android:layout_gravity="center_vertical"
67 android:layout_marginLeft="0dip"
John Reck0f602f32011-07-07 15:38:43 -070068 style="@style/HoloIcon"
69 android:visibility="gone" />
Bijan Amirzada9b1e9882014-02-26 17:15:46 -080070 <com.android.swe.browser.UrlInputView
John Reck0f602f32011-07-07 15:38:43 -070071 android:id="@+id/url"
72 android:layout_width="0dip"
73 android:layout_weight="1.0"
74 android:layout_height="match_parent"
Michael Kolbbae0cb22012-05-29 11:15:27 -070075 android:paddingLeft="4dip"
John Reck0f602f32011-07-07 15:38:43 -070076 android:paddingRight="0dip"
77 android:background="@null"
78 android:textAppearance="?android:attr/textAppearanceMedium"
79 android:hint="@string/search_hint"
80 android:singleLine="true"
81 android:ellipsize="end"
82 android:lines="1"
83 android:scrollHorizontally="true"
84 android:inputType="textUri"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070085 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
John Reck0f602f32011-07-07 15:38:43 -070086 style="@style/Suggestions" />
87 <ImageButton
88 android:id="@+id/star"
89 android:src="@drawable/btn_imageview_star"
90 android:layout_width="wrap_content"
91 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070092 android:contentDescription="@string/accessibility_button_addbookmark"
John Reck0f602f32011-07-07 15:38:43 -070093 style="@style/HoloButton" />
94 <ImageButton
95 android:id="@+id/clear"
96 android:src="@drawable/ic_stop_holo_dark"
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_clear"
John Reck0f602f32011-07-07 15:38:43 -0700100 style="@style/HoloButton" />
Michael Kolb0b129122012-06-04 16:31:58 -0700101 <ImageButton
102 android:id="@+id/voice"
103 android:src="@drawable/ic_voice_search_holo_dark"
104 android:layout_width="wrap_content"
105 android:layout_height="match_parent"
106 android:contentDescription="@string/accessibility_button_voice"
107 style="@style/HoloButton" />
108 </LinearLayout>
John Reck0f602f32011-07-07 15:38:43 -0700109 <ImageButton
John Reck0f602f32011-07-07 15:38:43 -0700110 android:id="@+id/search"
111 android:src="@drawable/ic_search_holo_dark"
112 android:layout_width="wrap_content"
113 android:layout_height="match_parent"
114 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -0700115 android:contentDescription="@string/accessibility_button_search"
John Reck0f602f32011-07-07 15:38:43 -0700116 style="@style/HoloButton" />
117 <ImageButton
118 android:id="@+id/all_btn"
119 android:layout_width="wrap_content"
120 android:layout_height="match_parent"
121 android:scaleType="center"
John Reck0f602f32011-07-07 15:38:43 -0700122 style="@style/HoloButton"
Michael Kolb30adae62011-07-29 13:37:05 -0700123 android:contentDescription="@string/accessibility_button_bookmarks"
John Reck0f602f32011-07-07 15:38:43 -0700124 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Bijan Amirzada9b1e9882014-02-26 17:15:46 -0800125</com.android.swe.browser.NavigationBarTablet>