Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 1 | <?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 Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 13 | <RelativeLayout |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 14 | xmlns:android="http://schemas.android.com/apk/res/android" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 15 | android:layout_width="match_parent" |
| 16 | android:layout_height="wrap_content" |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 17 | > |
| 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 Reck | f94df7e | 2011-03-14 16:28:56 -0700 | [diff] [blame] | 35 | <Spinner |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 36 | android:id="@+id/autologin_account" |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 37 | android:layout_height="wrap_content" |
John Reck | f94df7e | 2011-03-14 16:28:56 -0700 | [diff] [blame] | 38 | android:layout_width="wrap_content" |
| 39 | style="@android:style/Widget.Holo.Light.Spinner" /> |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 40 | <Button |
| 41 | android:id="@+id/autologin_login" |
| 42 | android:text="@string/autologin_bar_login_text" |
John Reck | f94df7e | 2011-03-14 16:28:56 -0700 | [diff] [blame] | 43 | style="@android:style/Widget.Holo.Light.Button" |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 44 | 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 Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 73 | <LinearLayout |
| 74 | android:id="@+id/taburlbar" |
| 75 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 76 | android:layout_height="48dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 77 | android:orientation="horizontal" |
Michael Kolb | 2b5a13a | 2010-12-09 14:13:42 -0800 | [diff] [blame] | 78 | android:background="@drawable/bg_urlbar"> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 79 | <ImageButton |
| 80 | android:id="@+id/back" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 81 | android:src="@drawable/ic_back_holo_dark" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="match_parent" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 84 | android:paddingLeft="16dip" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 85 | style="@style/HoloButton" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 86 | <ImageButton |
| 87 | android:id="@+id/forward" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 88 | android:src="@drawable/ic_forward_holo_dark" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 89 | android:layout_width="wrap_content" |
| 90 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 91 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 92 | <ImageButton |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 93 | android:id="@+id/stop" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="match_parent" |
| 96 | style="@style/HoloButton" |
| 97 | android:gravity="center_vertical" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 98 | android:src="@drawable/ic_stop_holo_dark" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 99 | <LinearLayout |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 100 | android:id="@+id/urlbar_focused" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 101 | android:layout_width="0dip" |
| 102 | android:layout_height="match_parent" |
| 103 | android:layout_weight="1.0" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 104 | android:layout_marginLeft="8dip" |
| 105 | android:layout_marginRight="8dip" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 106 | android:orientation="horizontal" |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 107 | android:background="@drawable/url_background"> |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 108 | <ImageView |
Michael Kolb | e3524d8 | 2011-03-02 14:53:15 -0800 | [diff] [blame] | 109 | android:id="@+id/url_icon" |
Michael Kolb | 5b2299c | 2011-01-25 16:54:34 -0800 | [diff] [blame] | 110 | 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 Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 115 | android:id="@+id/lock" |
| 116 | android:layout_width="wrap_content" |
Michael Kolb | 0506f2d | 2010-10-14 16:20:16 -0700 | [diff] [blame] | 117 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 118 | style="@style/HoloIcon" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 119 | android:visibility="gone" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 120 | <com.android.browser.UrlInputView |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 121 | android:id="@+id/url" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 122 | android:layout_width="0dip" |
| 123 | android:layout_weight="1.0" |
| 124 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 125 | android:layout_marginLeft="16dip" |
| 126 | android:paddingLeft="0dip" |
| 127 | android:paddingRight="0dip" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 128 | android:background="@null" |
| 129 | android:textAppearance="?android:attr/textAppearanceMedium" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 130 | android:hint="@string/search_hint" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 131 | android:singleLine="true" |
| 132 | android:ellipsize="end" |
| 133 | android:lines="1" |
| 134 | android:scrollHorizontally="true" |
| 135 | android:inputType="textUri" |
John Reck | 0182043 | 2010-11-29 10:32:24 -0800 | [diff] [blame] | 136 | android:imeOptions="actionGo" |
| 137 | style="@style/Suggestions" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 138 | <ImageButton |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 139 | android:id="@+id/star" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 140 | android:src="@drawable/btn_imageview_star" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 141 | android:layout_width="wrap_content" |
| 142 | android:layout_height="match_parent" |
| 143 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 144 | <ImageButton |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 145 | android:id="@+id/clear" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 146 | android:src="@drawable/ic_stop_holo_dark" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 147 | android:layout_width="wrap_content" |
| 148 | android:layout_height="match_parent" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 149 | style="@style/HoloButton" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 150 | </LinearLayout> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 151 | <ImageButton |
| 152 | android:id="@+id/go" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 153 | android:src="@drawable/ic_go_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 154 | android:layout_width="wrap_content" |
| 155 | android:layout_height="match_parent" |
| 156 | android:visibility="gone" |
| 157 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 158 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 159 | <ImageButton |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 160 | android:id="@+id/voicesearch" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 161 | android:src="@drawable/ic_voice_search_holo_dark" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 162 | android:layout_width="wrap_content" |
| 163 | android:layout_height="match_parent" |
| 164 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 165 | <ImageButton |
| 166 | android:id="@+id/search" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 167 | android:src="@drawable/ic_search_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 168 | android:layout_width="wrap_content" |
| 169 | android:layout_height="match_parent" |
| 170 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 171 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 172 | <ImageButton |
| 173 | android:id="@+id/all_btn" |
| 174 | android:layout_width="wrap_content" |
| 175 | android:layout_height="match_parent" |
| 176 | android:scaleType="center" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 177 | android:paddingRight="16dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 178 | style="@style/HoloButton" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 179 | android:src="@drawable/ic_bookmarks_history_holo_dark" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 180 | </LinearLayout> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 181 | <com.android.browser.PageProgressView |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 182 | android:id="@+id/progress" |
| 183 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 184 | android:layout_height="22dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 185 | android:background="@null" |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 186 | android:layout_below="@+id/taburlbar" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 187 | android:src="@drawable/progress" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 188 | android:layout_marginTop="-11dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 189 | android:visibility="gone" /> |
Patrick Scott | 9206677 | 2011-03-10 08:46:27 -0500 | [diff] [blame] | 190 | </RelativeLayout> |