blob: bf184a8363d6dc8f998bc9c0a0bc416649a9a8b3 [file] [log] [blame]
Michael Kolba2b2ba82010-08-04 17:54:03 -07001<?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright 2010, The Android Open Source Project Licensed under the
4 Apache License, Version 2.0 (the "License"); you may not use this file
5 except in compliance with the License. You may obtain a copy of the
6 License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
7 applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for
10 the specific language governing permissions and limitations under the
11 License.
12 -->
Patrick Scott92066772011-03-10 08:46:27 -050013<RelativeLayout
Michael Kolba2b2ba82010-08-04 17:54:03 -070014 xmlns:android="http://schemas.android.com/apk/res/android"
Michael Kolba2b2ba82010-08-04 17:54:03 -070015 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
Patrick Scott92066772011-03-10 08:46:27 -050017 >
18 <LinearLayout
19 android:id="@+id/autologin"
20 android:background="#FBF0A0"
21 android:gravity="center_vertical"
22 android:paddingTop="3dip"
23 android:visibility="gone"
24 android:layout_below="@+id/taburlbar"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content">
27 <TextView
28 android:text="@string/autologin_bar_text"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:textColor="@android:color/primary_text_light"
32 android:paddingLeft="15dip"
33 android:paddingRight="15dip"
34 android:textAppearance="?android:attr/textAppearanceMedium"/>
35 <Button
36 android:id="@+id/autologin_account"
37 android:background="@android:drawable/btn_dropdown"
38 android:textColor="@android:color/primary_text_light"
39 android:layout_height="wrap_content"
40 android:layout_width="wrap_content"/>
41 <Button
42 android:id="@+id/autologin_login"
43 android:text="@string/autologin_bar_login_text"
44 android:background="@android:drawable/btn_default"
45 android:textColor="@android:color/primary_text_light"
46 android:layout_marginRight="15dip"
47 android:layout_height="wrap_content"
48 android:layout_width="wrap_content" />
49 <ProgressBar
50 android:id="@+id/autologin_progress"
51 android:indeterminateOnly="true"
52 android:layout_height="wrap_content"
53 android:layout_width="wrap_content"
54 android:visibility="gone" />
55 <TextView
56 android:id="@+id/autologin_error"
57 android:layout_height="wrap_content"
58 android:layout_width="wrap_content"
59 android:textColor="#dd6826"
60 android:text="@string/autologin_bar_error"
61 android:textAppearance="?android:attr/textAppearanceMedium"
62 android:visibility="gone" />
63 <View
64 android:layout_width="2dip"
65 android:layout_height="match_parent"
66 android:layout_weight="1"/>
67 <ImageButton
68 android:id="@+id/autologin_close"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:paddingRight="15dip"
72 android:background="@null"
73 android:src="@*android:drawable/btn_close"/>
74 </LinearLayout>
Michael Kolba2b2ba82010-08-04 17:54:03 -070075 <LinearLayout
76 android:id="@+id/taburlbar"
77 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070078 android:layout_height="48dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070079 android:orientation="horizontal"
Michael Kolb2b5a13a2010-12-09 14:13:42 -080080 android:background="@drawable/bg_urlbar">
Michael Kolba2b2ba82010-08-04 17:54:03 -070081 <ImageButton
82 android:id="@+id/back"
Michael Kolb5a72f182011-01-13 20:35:06 -080083 android:src="@drawable/ic_back_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070084 android:layout_width="wrap_content"
85 android:layout_height="match_parent"
John Reck3f24ba22011-01-20 12:55:17 -080086 android:paddingLeft="16dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080087 style="@style/HoloButton" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070088 <ImageButton
89 android:id="@+id/forward"
Michael Kolb5a72f182011-01-13 20:35:06 -080090 android:src="@drawable/ic_forward_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070091 android:layout_width="wrap_content"
92 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080093 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080094 <ImageButton
Michael Kolbc7485ae2010-09-03 10:10:58 -070095 android:id="@+id/stop"
Michael Kolbc7485ae2010-09-03 10:10:58 -070096 android:layout_width="wrap_content"
97 android:layout_height="match_parent"
98 style="@style/HoloButton"
99 android:gravity="center_vertical"
Michael Kolb5a72f182011-01-13 20:35:06 -0800100 android:src="@drawable/ic_stop_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700101 <LinearLayout
Michael Kolb31d469b2010-12-09 20:49:54 -0800102 android:id="@+id/urlbar_focused"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700103 android:layout_width="0dip"
104 android:layout_height="match_parent"
105 android:layout_weight="1.0"
John Reck3f24ba22011-01-20 12:55:17 -0800106 android:layout_marginLeft="8dip"
107 android:layout_marginRight="8dip"
Michael Kolb31d469b2010-12-09 20:49:54 -0800108 android:orientation="horizontal"
Michael Kolba4183062011-01-16 10:43:21 -0800109 android:background="@drawable/url_background">
Michael Kolbcfa3af52010-12-14 10:36:11 -0800110 <ImageView
Michael Kolbe3524d82011-03-02 14:53:15 -0800111 android:id="@+id/url_icon"
Michael Kolb5b2299c2011-01-25 16:54:34 -0800112 android:layout_width="wrap_content"
113 android:layout_height="match_parent"
114 android:src="@drawable/ic_web_holo_dark"
115 style="@style/HoloIcon" />
116 <ImageView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700117 android:id="@+id/lock"
118 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -0700119 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700120 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700121 android:visibility="gone" />
Michael Kolb513286f2010-09-09 12:55:12 -0700122 <com.android.browser.UrlInputView
123 android:id="@+id/url_focused"
124 android:layout_width="0dip"
125 android:layout_weight="1.0"
126 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -0800127 android:layout_marginLeft="16dip"
128 android:paddingLeft="0dip"
129 android:paddingRight="0dip"
Michael Kolb513286f2010-09-09 12:55:12 -0700130 android:background="@null"
131 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -0700132 android:hint="@string/search_hint"
Michael Kolb513286f2010-09-09 12:55:12 -0700133 android:singleLine="true"
134 android:ellipsize="end"
135 android:lines="1"
136 android:scrollHorizontally="true"
137 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -0800138 android:imeOptions="actionGo"
139 style="@style/Suggestions" />
Michael Kolba4183062011-01-16 10:43:21 -0800140 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800141 android:id="@+id/star"
John Reck0ce8a942011-01-14 19:57:09 -0800142 android:src="@drawable/btn_imageview_star"
Michael Kolb31d469b2010-12-09 20:49:54 -0800143 android:layout_width="wrap_content"
144 android:layout_height="match_parent"
145 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800146 <ImageButton
Michael Kolbb7b115e2010-09-25 16:59:37 -0700147 android:id="@+id/clear"
Michael Kolb5a72f182011-01-13 20:35:06 -0800148 android:src="@drawable/ic_stop_holo_dark"
Michael Kolb513286f2010-09-09 12:55:12 -0700149 android:layout_width="wrap_content"
150 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700151 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -0700152 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700153 <ImageButton
154 android:id="@+id/go"
Michael Kolb5a72f182011-01-13 20:35:06 -0800155 android:src="@drawable/ic_go_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700156 android:layout_width="wrap_content"
157 android:layout_height="match_parent"
158 android:visibility="gone"
159 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800160 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800161 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800162 android:id="@+id/voicesearch"
Michael Kolb5a72f182011-01-13 20:35:06 -0800163 android:src="@drawable/ic_voice_search_holo_dark"
Michael Kolb31d469b2010-12-09 20:49:54 -0800164 android:layout_width="wrap_content"
165 android:layout_height="match_parent"
166 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700167 <ImageButton
168 android:id="@+id/search"
Michael Kolb5a72f182011-01-13 20:35:06 -0800169 android:src="@drawable/ic_search_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700170 android:layout_width="wrap_content"
171 android:layout_height="match_parent"
172 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800173 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700174 <ImageButton
175 android:id="@+id/all_btn"
176 android:layout_width="wrap_content"
177 android:layout_height="match_parent"
178 android:scaleType="center"
John Reck3f24ba22011-01-20 12:55:17 -0800179 android:paddingRight="16dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700180 style="@style/HoloButton"
Michael Kolb5a72f182011-01-13 20:35:06 -0800181 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700182 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700183 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700184 android:id="@+id/progress"
185 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700186 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700187 android:background="@null"
Patrick Scott92066772011-03-10 08:46:27 -0500188 android:layout_below="@+id/taburlbar"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700189 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700190 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700191 android:visibility="gone" />
Patrick Scott92066772011-03-10 08:46:27 -0500192</RelativeLayout>