blob: 4ef94e8b840ccb8313055450c74017a24c459883 [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.NavigationBarTablet
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
21 <ImageButton
22 android:id="@+id/back"
23 android:src="@drawable/ic_back_holo_dark"
24 android:layout_width="wrap_content"
25 android:layout_height="match_parent"
26 android:paddingLeft="16dip"
27 style="@style/HoloButton" />
28 <ImageButton
29 android:id="@+id/forward"
30 android:src="@drawable/ic_forward_holo_dark"
31 android:layout_width="wrap_content"
32 android:layout_height="match_parent"
33 style="@style/HoloButton" />
34 <ImageButton
35 android:id="@+id/stop"
36 android:layout_width="wrap_content"
37 android:layout_height="match_parent"
38 style="@style/HoloButton"
39 android:gravity="center_vertical"
40 android:src="@drawable/ic_stop_holo_dark" />
41 <LinearLayout
42 android:id="@+id/urlbar_focused"
43 android:layout_width="0dip"
44 android:layout_height="match_parent"
45 android:layout_weight="1.0"
46 android:layout_marginLeft="8dip"
47 android:layout_marginRight="8dip"
48 android:orientation="horizontal"
49 android:background="@drawable/url_background">
50 <ImageView
51 android:id="@+id/url_icon"
52 android:layout_width="wrap_content"
53 android:layout_height="match_parent"
54 android:src="@drawable/ic_web_holo_dark"
55 style="@style/HoloIcon" />
56 <ImageView
57 android:id="@+id/lock"
58 android:layout_width="wrap_content"
59 android:layout_height="match_parent"
60 style="@style/HoloIcon"
61 android:visibility="gone" />
62 <com.android.browser.UrlInputView
63 android:id="@+id/url"
64 android:layout_width="0dip"
65 android:layout_weight="1.0"
66 android:layout_height="match_parent"
67 android:layout_marginLeft="16dip"
68 android:paddingLeft="0dip"
69 android:paddingRight="0dip"
70 android:background="@null"
71 android:textAppearance="?android:attr/textAppearanceMedium"
72 android:hint="@string/search_hint"
73 android:singleLine="true"
74 android:ellipsize="end"
75 android:lines="1"
76 android:scrollHorizontally="true"
77 android:inputType="textUri"
78 android:imeOptions="actionGo"
79 style="@style/Suggestions" />
80 <ImageButton
81 android:id="@+id/star"
82 android:src="@drawable/btn_imageview_star"
83 android:layout_width="wrap_content"
84 android:layout_height="match_parent"
85 style="@style/HoloButton" />
86 <ImageButton
87 android:id="@+id/clear"
88 android:src="@drawable/ic_stop_holo_dark"
89 android:layout_width="wrap_content"
90 android:layout_height="match_parent"
91 style="@style/HoloButton" />
92 </LinearLayout>
93 <ImageButton
94 android:id="@+id/go"
95 android:src="@drawable/ic_go_holo_dark"
96 android:layout_width="wrap_content"
97 android:layout_height="match_parent"
98 android:visibility="gone"
99 android:gravity="center_vertical"
100 style="@style/HoloButton" />
101 <ImageButton
102 android:id="@+id/voicesearch"
103 android:src="@drawable/ic_voice_search_holo_dark"
104 android:layout_width="wrap_content"
105 android:layout_height="match_parent"
106 style="@style/HoloButton" />
107 <ImageButton
108 android:id="@+id/search"
109 android:src="@drawable/ic_search_holo_dark"
110 android:layout_width="wrap_content"
111 android:layout_height="match_parent"
112 android:gravity="center_vertical"
113 style="@style/HoloButton" />
114 <ImageButton
115 android:id="@+id/all_btn"
116 android:layout_width="wrap_content"
117 android:layout_height="match_parent"
118 android:scaleType="center"
119 android:paddingRight="16dip"
120 style="@style/HoloButton"
121 android:src="@drawable/ic_bookmarks_history_holo_dark" />
122</com.android.browser.NavigationBarTablet>