blob: 8ed633141e0cd1789b348149bd5c858ffcef3a40 [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-->
17<com.android.browser.NavigationBarPhone
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
21 <LinearLayout
22 android:id="@+id/title_bg"
23 android:layout_width="0dip"
24 android:layout_weight="1.0"
25 android:layout_height="match_parent"
26 android:gravity="center_vertical"
27 android:orientation="horizontal">
John Reck419f6b42011-08-16 16:10:51 -070028 <ImageView
Michael Kolb94ec5272011-08-31 16:23:57 -070029 android:id="@+id/magnify"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:paddingLeft="8dip"
33 android:paddingRight="8dip"
34 android:visibility="gone"
35 android:src="@drawable/ic_search_category_suggest" />
36 <ImageView
John Reck419f6b42011-08-16 16:10:51 -070037 android:id="@+id/incognito_icon"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:paddingLeft="8dip"
41 android:visibility="gone"
42 android:src="@drawable/ic_incognito_holo_dark" />
John Reck0f602f32011-07-07 15:38:43 -070043 <FrameLayout
44 android:id="@+id/iconcombo"
45 android:layout_width="52dip"
46 android:layout_height="match_parent"
47 style="@style/HoloButton">
48 <ImageView
49 android:id="@+id/favicon"
Michael Kolb6ced8442011-08-22 13:04:30 -070050 android:layout_width="20dip"
51 android:layout_height="20dip"
52 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070053 <ImageView
54 android:id="@+id/lock"
Michael Kolb6ced8442011-08-22 13:04:30 -070055 android:layout_width="32dip"
56 android:layout_height="33dip"
57 android:layout_gravity="center"
John Reck0f602f32011-07-07 15:38:43 -070058 android:visibility="gone" />
59 </FrameLayout>
60 <ImageView
61 android:id="@+id/stop"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070065 android:contentDescription="@string/accessibility_button_stop"
John Reck0f602f32011-07-07 15:38:43 -070066 android:src="@drawable/ic_stop_holo_dark"
67 style="@style/HoloButton" />
68 <com.android.browser.UrlInputView
69 android:id="@+id/url"
70 android:focusable="true"
71 android:layout_width="0dip"
72 android:layout_weight="1.0"
73 android:layout_height="match_parent"
74 android:fadingEdge="horizontal"
75 android:fadingEdgeLength="24dip"
76 android:textAppearance="?android:attr/textAppearanceMedium"
77 android:hint="@string/search_hint"
78 android:singleLine="true"
79 android:ellipsize="end"
80 android:lines="1"
81 android:scrollHorizontally="true"
John Reckcba1fd12011-08-29 10:36:13 -070082 android:inputType="textUri"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070083 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
John Reck0f602f32011-07-07 15:38:43 -070084 style="@style/Suggestions"
85 android:background="@null" />
86 <ImageView
87 android:id="@+id/voice"
88 android:layout_width="wrap_content"
89 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070090 android:contentDescription="@string/accessibility_button_voice"
John Reck0f602f32011-07-07 15:38:43 -070091 android:src="@drawable/ic_voice_search_holo_dark"
92 style="@style/HoloButton"
93 android:visibility="gone" />
Michael Kolb94ec5272011-08-31 16:23:57 -070094 <ImageView
95 android:id="@+id/clear"
96 android:layout_width="wrap_content"
97 android:layout_height="match_parent"
98 android:contentDescription="@string/accessibility_button_clear"
99 android:src="@drawable/ic_close_window_holo_dark"
100 style="@style/HoloButton"
101 android:visibility="gone" />
John Reck0f602f32011-07-07 15:38:43 -0700102 </LinearLayout>
103 <ImageButton
104 android:id="@+id/tab_switcher"
105 android:layout_width="wrap_content"
106 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -0700107 android:contentDescription="@string/accessibility_button_navscreen"
John Reck0f602f32011-07-07 15:38:43 -0700108 android:src="@drawable/ic_windows_holo_dark"
109 style="@style/HoloButton" />
110 <ImageButton
111 android:id="@+id/more"
112 android:layout_width="wrap_content"
113 android:layout_height="match_parent"
114 style="@style/HoloButton"
115 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -0700116 android:contentDescription="@string/accessibility_button_more"
Michael Kolbe5d7a662011-08-02 15:30:39 -0700117 android:src="@drawable/ic_menu_overflow" />
John Reck0f602f32011-07-07 15:38:43 -0700118</com.android.browser.NavigationBarPhone>