blob: b9952f10b64a7807d68fa413c1c58539c835f30c [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-->
Enrico Ros1f5a0952014-11-18 20:15:48 -080017<com.android.browser.NavigationBarPhone xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:background="@color/NavigationBarBackground"
21 android:orientation="horizontal">
22
John Reck0f602f32011-07-07 15:38:43 -070023 <LinearLayout
John Reck0f602f32011-07-07 15:38:43 -070024 android:layout_width="0dip"
John Reck0f602f32011-07-07 15:38:43 -070025 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080026 android:layout_weight="1.0"
John Reck0f602f32011-07-07 15:38:43 -070027 android:gravity="center_vertical"
28 android:orientation="horizontal">
Enrico Ros1f5a0952014-11-18 20:15:48 -080029
Michael Kolb94ec5272011-08-31 16:23:57 -070030 <ImageView
John Reck419f6b42011-08-16 16:10:51 -070031 android:id="@+id/incognito_icon"
Enrico Ros1f5a0952014-11-18 20:15:48 -080032 android:layout_width="48dp"
33 android:layout_height="match_parent"
34 android:src="@drawable/ic_incognito_holo_dark"
35 android:visibility="gone" />
36
Axesh R. Ajmera2e241242014-05-19 15:53:38 -070037 <com.android.browser.LocationButton
38 android:id="@+id/location_button"
Enrico Ros1f5a0952014-11-18 20:15:48 -080039 style="@style/NavButton"
40 android:layout_width="wrap_content"
41 android:visibility="gone" />
42
43 <ImageView
44 android:id="@+id/magnify"
45 android:layout_width="44dp"
46 android:layout_height="match_parent"
47 android:src="@drawable/ic_action_search_normal"
48 android:paddingLeft="6dp"
49 android:paddingRight="6dp"
50 android:visibility="visible" />
51
John Reck0f602f32011-07-07 15:38:43 -070052 <FrameLayout
53 android:id="@+id/iconcombo"
Enrico Ros1f5a0952014-11-18 20:15:48 -080054 style="@style/NavButton"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070055 android:layout_width="44dip"
Enrico Ros1f5a0952014-11-18 20:15:48 -080056 android:contentDescription="@string/page_info">
57
John Reck0f602f32011-07-07 15:38:43 -070058 <ImageView
59 android:id="@+id/favicon"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070060 android:layout_width="32dip"
61 android:layout_height="32dip"
Enrico Ros1f5a0952014-11-18 20:15:48 -080062 android:layout_gravity="center"
63 android:paddingLeft="6dip"
64 android:paddingRight="6dip" />
65
John Reck0f602f32011-07-07 15:38:43 -070066 <ImageView
67 android:id="@+id/lock"
Michael Kolb6ced8442011-08-22 13:04:30 -070068 android:layout_width="32dip"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070069 android:layout_height="32dip"
Michael Kolb6ced8442011-08-22 13:04:30 -070070 android:layout_gravity="center"
John Reck0f602f32011-07-07 15:38:43 -070071 android:visibility="gone" />
72 </FrameLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -080073
John Reck0f602f32011-07-07 15:38:43 -070074 <ImageView
75 android:id="@+id/stop"
Enrico Ros1f5a0952014-11-18 20:15:48 -080076 style="@style/NavButton"
John Reck0f602f32011-07-07 15:38:43 -070077 android:layout_width="wrap_content"
John Reck0f602f32011-07-07 15:38:43 -070078 android:layout_gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070079 android:contentDescription="@string/accessibility_button_stop"
Enrico Ros1f5a0952014-11-18 20:15:48 -080080 android:paddingLeft="6dp"
81 android:paddingRight="6dp"
82 android:src="@drawable/ic_action_stop" />
83
Bijan Amirzada41242f22014-03-21 12:12:18 -070084 <com.android.browser.UrlInputView
John Reck0f602f32011-07-07 15:38:43 -070085 android:id="@+id/url"
Enrico Ros1f5a0952014-11-18 20:15:48 -080086 style="@style/Suggestions"
John Reck0f602f32011-07-07 15:38:43 -070087 android:layout_width="0dip"
John Reck0f602f32011-07-07 15:38:43 -070088 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080089 android:layout_weight="1.0"
90 android:background="@null"
91 android:ellipsize="end"
John Reck0f602f32011-07-07 15:38:43 -070092 android:fadingEdge="horizontal"
93 android:fadingEdgeLength="24dip"
Enrico Ros1f5a0952014-11-18 20:15:48 -080094 android:focusable="true"
John Reck0f602f32011-07-07 15:38:43 -070095 android:hint="@string/search_hint"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070096 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
Enrico Ros1f5a0952014-11-18 20:15:48 -080097 android:inputType="textUri"
98 android:lines="1"
99 android:paddingLeft="4dp"
100 android:paddingRight="6dp"
101 android:scrollHorizontally="true"
102 android:singleLine="true"
103 android:textAppearance="?android:attr/textAppearanceMedium" />
104
John Reck0f602f32011-07-07 15:38:43 -0700105 <ImageView
Michael Kolb0b129122012-06-04 16:31:58 -0700106 android:id="@+id/voice"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800107 style="@style/NavButton"
Michael Kolb0b129122012-06-04 16:31:58 -0700108 android:layout_width="wrap_content"
Michael Kolb0b129122012-06-04 16:31:58 -0700109 android:contentDescription="@string/accessibility_button_voice"
Peter Ngdf4cc0c2011-09-22 13:13:08 -0700110 android:paddingRight="4dip"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800111 android:src="@drawable/ic_voice_search_holo_dark"
112 android:visibility="gone" />
113
114 <ImageButton
115 android:id="@+id/clear"
116 style="@style/NavButton"
117 android:layout_width="wrap_content"
Michael Kolb94ec5272011-08-31 16:23:57 -0700118 android:contentDescription="@string/accessibility_button_clear"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800119 android:src="@drawable/ic_action_stop"
Michael Kolb94ec5272011-08-31 16:23:57 -0700120 android:visibility="gone" />
John Reck0f602f32011-07-07 15:38:43 -0700121 </LinearLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -0800122
123 <FrameLayout
John Reck0f602f32011-07-07 15:38:43 -0700124 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800125 android:layout_width="wrap_content">
126
127 <ImageButton
128 android:id="@+id/tab_switcher"
129 style="@style/NavButton"
130 android:layout_width="wrap_content"
Michael Kolb30adae62011-07-29 13:37:05 -0700131 android:contentDescription="@string/accessibility_button_navscreen"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800132 android:src="@drawable/ic_action_tabswitcher" />
133
134 <TextView
135 android:id="@+id/tab_switcher_text"
136 android:layout_width="wrap_content"
137 android:layout_height="wrap_content"
138 android:layout_gravity="center"
139 android:paddingBottom="3dp"
140 android:paddingRight="2dp"
141 android:clickable="false"
142 android:text="0" >
143 </TextView>
144 </FrameLayout>
145
John Reck0f602f32011-07-07 15:38:43 -0700146 <ImageButton
Axesh R. Ajmera2e241242014-05-19 15:53:38 -0700147 android:id="@+id/more_browser_settings"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800148 style="@style/OverflowButton" />
Bijan Amirzada41242f22014-03-21 12:12:18 -0700149</com.android.browser.NavigationBarPhone>