blob: b22d1a2ab9f0164dfe79956d81a2fb4d8e3e1100 [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">
28 <FrameLayout
29 android:id="@+id/iconcombo"
30 android:layout_width="52dip"
31 android:layout_height="match_parent"
32 style="@style/HoloButton">
33 <ImageView
34 android:id="@+id/favicon"
35 android:layout_width="36dip"
36 android:layout_height="36dip"
37 android:paddingLeft="8dip"
38 android:paddingRight="8dip"
39 android:layout_gravity="center_vertical" />
40 <ImageView
41 android:id="@+id/lock"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:layout_gravity="bottom|right"
45 android:visibility="gone" />
46 </FrameLayout>
47 <ImageView
48 android:id="@+id/stop"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:layout_gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070052 android:contentDescription="@string/accessibility_button_stop"
John Reck0f602f32011-07-07 15:38:43 -070053 android:src="@drawable/ic_stop_holo_dark"
54 style="@style/HoloButton" />
55 <com.android.browser.UrlInputView
56 android:id="@+id/url"
57 android:focusable="true"
58 android:layout_width="0dip"
59 android:layout_weight="1.0"
60 android:layout_height="match_parent"
Michael Kolbe5d7a662011-08-02 15:30:39 -070061 android:paddingLeft="8dip"
John Reck0f602f32011-07-07 15:38:43 -070062 android:fadingEdge="horizontal"
63 android:fadingEdgeLength="24dip"
64 android:textAppearance="?android:attr/textAppearanceMedium"
65 android:hint="@string/search_hint"
66 android:singleLine="true"
67 android:ellipsize="end"
68 android:lines="1"
69 android:scrollHorizontally="true"
70 android:inputType="text"
71 android:imeOptions="actionGo"
72 style="@style/Suggestions"
73 android:background="@null" />
74 <ImageView
75 android:id="@+id/voice"
76 android:layout_width="wrap_content"
77 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070078 android:contentDescription="@string/accessibility_button_voice"
John Reck0f602f32011-07-07 15:38:43 -070079 android:src="@drawable/ic_voice_search_holo_dark"
80 style="@style/HoloButton"
81 android:visibility="gone" />
82 </LinearLayout>
83 <ImageButton
84 android:id="@+id/tab_switcher"
85 android:layout_width="wrap_content"
86 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070087 android:contentDescription="@string/accessibility_button_navscreen"
John Reck0f602f32011-07-07 15:38:43 -070088 android:src="@drawable/ic_windows_holo_dark"
89 style="@style/HoloButton" />
90 <ImageButton
91 android:id="@+id/more"
92 android:layout_width="wrap_content"
93 android:layout_height="match_parent"
94 style="@style/HoloButton"
95 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070096 android:contentDescription="@string/accessibility_button_more"
Michael Kolbe5d7a662011-08-02 15:30:39 -070097 android:src="@drawable/ic_menu_overflow" />
John Reck0f602f32011-07-07 15:38:43 -070098</com.android.browser.NavigationBarPhone>