blob: 3864b7d4e0d0818821ee87c7e1eeb1827656d8a6 [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"/>
John Reckf94df7e2011-03-14 16:28:56 -070035 <Spinner
Patrick Scott92066772011-03-10 08:46:27 -050036 android:id="@+id/autologin_account"
Patrick Scott92066772011-03-10 08:46:27 -050037 android:layout_height="wrap_content"
John Reckf94df7e2011-03-14 16:28:56 -070038 android:layout_width="wrap_content"
39 style="@android:style/Widget.Holo.Light.Spinner" />
Patrick Scott92066772011-03-10 08:46:27 -050040 <Button
41 android:id="@+id/autologin_login"
42 android:text="@string/autologin_bar_login_text"
John Reckf94df7e2011-03-14 16:28:56 -070043 style="@android:style/Widget.Holo.Light.Button"
Patrick Scott92066772011-03-10 08:46:27 -050044 android:layout_marginRight="15dip"
45 android:layout_height="wrap_content"
46 android:layout_width="wrap_content" />
47 <ProgressBar
48 android:id="@+id/autologin_progress"
49 android:indeterminateOnly="true"
50 android:layout_height="wrap_content"
51 android:layout_width="wrap_content"
52 android:visibility="gone" />
53 <TextView
54 android:id="@+id/autologin_error"
55 android:layout_height="wrap_content"
56 android:layout_width="wrap_content"
57 android:textColor="#dd6826"
58 android:text="@string/autologin_bar_error"
59 android:textAppearance="?android:attr/textAppearanceMedium"
60 android:visibility="gone" />
61 <View
62 android:layout_width="2dip"
63 android:layout_height="match_parent"
64 android:layout_weight="1"/>
65 <ImageButton
66 android:id="@+id/autologin_close"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:paddingRight="15dip"
70 android:background="@null"
71 android:src="@*android:drawable/btn_close"/>
72 </LinearLayout>
Michael Kolba2b2ba82010-08-04 17:54:03 -070073 <LinearLayout
74 android:id="@+id/taburlbar"
75 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070076 android:layout_height="48dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070077 android:orientation="horizontal"
Michael Kolb2b5a13a2010-12-09 14:13:42 -080078 android:background="@drawable/bg_urlbar">
Michael Kolba2b2ba82010-08-04 17:54:03 -070079 <ImageButton
80 android:id="@+id/back"
Michael Kolb5a72f182011-01-13 20:35:06 -080081 android:src="@drawable/ic_back_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070082 android:layout_width="wrap_content"
83 android:layout_height="match_parent"
John Reck3f24ba22011-01-20 12:55:17 -080084 android:paddingLeft="16dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080085 style="@style/HoloButton" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070086 <ImageButton
87 android:id="@+id/forward"
Michael Kolb5a72f182011-01-13 20:35:06 -080088 android:src="@drawable/ic_forward_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070089 android:layout_width="wrap_content"
90 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080091 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080092 <ImageButton
Michael Kolbc7485ae2010-09-03 10:10:58 -070093 android:id="@+id/stop"
Michael Kolbc7485ae2010-09-03 10:10:58 -070094 android:layout_width="wrap_content"
95 android:layout_height="match_parent"
96 style="@style/HoloButton"
97 android:gravity="center_vertical"
Michael Kolb5a72f182011-01-13 20:35:06 -080098 android:src="@drawable/ic_stop_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070099 <LinearLayout
Michael Kolb31d469b2010-12-09 20:49:54 -0800100 android:id="@+id/urlbar_focused"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700101 android:layout_width="0dip"
102 android:layout_height="match_parent"
103 android:layout_weight="1.0"
John Reck3f24ba22011-01-20 12:55:17 -0800104 android:layout_marginLeft="8dip"
105 android:layout_marginRight="8dip"
Michael Kolb31d469b2010-12-09 20:49:54 -0800106 android:orientation="horizontal"
Michael Kolba4183062011-01-16 10:43:21 -0800107 android:background="@drawable/url_background">
Michael Kolbcfa3af52010-12-14 10:36:11 -0800108 <ImageView
Michael Kolbe3524d82011-03-02 14:53:15 -0800109 android:id="@+id/url_icon"
Michael Kolb5b2299c2011-01-25 16:54:34 -0800110 android:layout_width="wrap_content"
111 android:layout_height="match_parent"
112 android:src="@drawable/ic_web_holo_dark"
113 style="@style/HoloIcon" />
114 <ImageView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700115 android:id="@+id/lock"
116 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -0700117 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700118 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700119 android:visibility="gone" />
Michael Kolb513286f2010-09-09 12:55:12 -0700120 <com.android.browser.UrlInputView
Michael Kolb11d19782011-03-20 10:17:40 -0700121 android:id="@+id/url"
Michael Kolb513286f2010-09-09 12:55:12 -0700122 android:layout_width="0dip"
123 android:layout_weight="1.0"
124 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -0800125 android:layout_marginLeft="16dip"
126 android:paddingLeft="0dip"
127 android:paddingRight="0dip"
Michael Kolb513286f2010-09-09 12:55:12 -0700128 android:background="@null"
129 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -0700130 android:hint="@string/search_hint"
Michael Kolb513286f2010-09-09 12:55:12 -0700131 android:singleLine="true"
132 android:ellipsize="end"
133 android:lines="1"
134 android:scrollHorizontally="true"
135 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -0800136 android:imeOptions="actionGo"
137 style="@style/Suggestions" />
Michael Kolba4183062011-01-16 10:43:21 -0800138 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800139 android:id="@+id/star"
John Reck0ce8a942011-01-14 19:57:09 -0800140 android:src="@drawable/btn_imageview_star"
Michael Kolb31d469b2010-12-09 20:49:54 -0800141 android:layout_width="wrap_content"
142 android:layout_height="match_parent"
143 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800144 <ImageButton
Michael Kolbb7b115e2010-09-25 16:59:37 -0700145 android:id="@+id/clear"
Michael Kolb5a72f182011-01-13 20:35:06 -0800146 android:src="@drawable/ic_stop_holo_dark"
Michael Kolb513286f2010-09-09 12:55:12 -0700147 android:layout_width="wrap_content"
148 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700149 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -0700150 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700151 <ImageButton
152 android:id="@+id/go"
Michael Kolb5a72f182011-01-13 20:35:06 -0800153 android:src="@drawable/ic_go_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700154 android:layout_width="wrap_content"
155 android:layout_height="match_parent"
156 android:visibility="gone"
157 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800158 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800159 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800160 android:id="@+id/voicesearch"
Michael Kolb5a72f182011-01-13 20:35:06 -0800161 android:src="@drawable/ic_voice_search_holo_dark"
Michael Kolb31d469b2010-12-09 20:49:54 -0800162 android:layout_width="wrap_content"
163 android:layout_height="match_parent"
164 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700165 <ImageButton
166 android:id="@+id/search"
Michael Kolb5a72f182011-01-13 20:35:06 -0800167 android:src="@drawable/ic_search_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700168 android:layout_width="wrap_content"
169 android:layout_height="match_parent"
170 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800171 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700172 <ImageButton
173 android:id="@+id/all_btn"
174 android:layout_width="wrap_content"
175 android:layout_height="match_parent"
176 android:scaleType="center"
John Reck3f24ba22011-01-20 12:55:17 -0800177 android:paddingRight="16dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700178 style="@style/HoloButton"
Michael Kolb5a72f182011-01-13 20:35:06 -0800179 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700180 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700181 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700182 android:id="@+id/progress"
183 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700184 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700185 android:background="@null"
Patrick Scott92066772011-03-10 08:46:27 -0500186 android:layout_below="@+id/taburlbar"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700187 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700188 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700189 android:visibility="gone" />
Patrick Scott92066772011-03-10 08:46:27 -0500190</RelativeLayout>