Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 2 | <!-- |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 3 | Copyright 2011, The Android Open Source Project |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 4 | |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 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 |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 8 | |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 9 | http://www.apache.org/licenses/LICENSE-2.0 |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 10 | |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 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. |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 16 | --> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 17 | <RelativeLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/titlebar" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 21 | android:layout_height="wrap_content"> |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 22 | <LinearLayout |
John Reck | b9a051b | 2011-03-18 11:55:48 -0700 | [diff] [blame] | 23 | android:id="@+id/taburlbar" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Michael Kolb | 5a4372f | 2011-04-29 13:53:10 -0700 | [diff] [blame] | 25 | android:layout_height="@dimen/toolbar_height" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 26 | android:orientation="horizontal" |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 27 | android:background="@drawable/bg_urlbar"> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 28 | <LinearLayout |
| 29 | android:id="@+id/title_bg" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 30 | android:layout_width="0dip" |
| 31 | android:layout_weight="1.0" |
Michael Kolb | 5a4372f | 2011-04-29 13:53:10 -0700 | [diff] [blame] | 32 | android:layout_height="match_parent" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 33 | android:gravity="center_vertical" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 34 | android:orientation="horizontal"> |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 35 | <FrameLayout |
| 36 | android:id="@+id/iconcombo" |
| 37 | android:layout_width="52dip" |
| 38 | android:layout_height="match_parent" |
| 39 | style="@style/HoloButton"> |
| 40 | <ImageView |
| 41 | android:id="@+id/favicon" |
| 42 | android:layout_width="36dip" |
| 43 | android:layout_height="36dip" |
| 44 | android:paddingLeft="8dip" |
| 45 | android:paddingRight="8dip" |
| 46 | android:layout_gravity="center_vertical" /> |
| 47 | <ImageView |
| 48 | android:id="@+id/lock" |
| 49 | android:layout_width="wrap_content" |
| 50 | android:layout_height="wrap_content" |
| 51 | android:layout_gravity="bottom|right" |
| 52 | android:visibility="gone" /> |
| 53 | </FrameLayout> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 54 | <ImageView |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 55 | android:id="@+id/stop" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 56 | android:layout_width="wrap_content" |
| 57 | android:layout_height="wrap_content" |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 58 | android:layout_gravity="center_vertical" |
| 59 | android:src="@drawable/ic_stop_holo_dark" |
| 60 | style="@style/HoloButton" /> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 61 | <com.android.browser.UrlInputView |
| 62 | android:id="@+id/url" |
| 63 | android:focusable="true" |
| 64 | android:layout_width="0dip" |
| 65 | android:layout_weight="1.0" |
| 66 | android:layout_height="match_parent" |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 67 | android:fadingEdge="horizontal" |
| 68 | android:fadingEdgeLength="24dip" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 69 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 70 | android:hint="@string/search_hint" |
| 71 | android:singleLine="true" |
| 72 | android:ellipsize="end" |
| 73 | android:lines="1" |
| 74 | android:scrollHorizontally="true" |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 75 | android:inputType="text" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 76 | android:imeOptions="actionGo" |
Michael Kolb | 305b1c5 | 2011-06-21 16:16:22 -0700 | [diff] [blame] | 77 | style="@style/Suggestions" |
| 78 | android:background="@null" /> |
| 79 | <ImageView |
| 80 | android:id="@+id/voice" |
| 81 | android:layout_width="wrap_content" |
| 82 | android:layout_height="match_parent" |
| 83 | android:src="@drawable/ic_voice_search_holo_dark" |
| 84 | style="@style/HoloButton" |
| 85 | android:visibility="gone" /> |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 86 | </LinearLayout> |
John Reck | 8ac4290 | 2011-06-29 16:14:34 -0700 | [diff] [blame] | 87 | <ImageButton |
| 88 | android:id="@+id/tab_switcher" |
| 89 | android:layout_width="wrap_content" |
| 90 | android:layout_height="match_parent" |
| 91 | android:src="@drawable/ic_windows_holo_dark" |
| 92 | style="@style/HoloButton" /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 93 | </LinearLayout> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 94 | <LinearLayout |
| 95 | android:id="@+id/autologin" |
| 96 | android:background="#FBF0A0" |
| 97 | android:gravity="center_vertical" |
| 98 | android:paddingTop="3dip" |
| 99 | android:visibility="gone" |
| 100 | android:layout_below="@+id/taburlbar" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 101 | android:layout_width="match_parent" |
John Reck | 12472f6 | 2011-04-27 15:32:10 -0700 | [diff] [blame] | 102 | android:layout_height="wrap_content" |
| 103 | android:orientation="vertical"> |
| 104 | <LinearLayout |
| 105 | android:layout_width="match_parent" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 106 | android:layout_height="wrap_content" |
John Reck | 12472f6 | 2011-04-27 15:32:10 -0700 | [diff] [blame] | 107 | android:paddingLeft="8dip" |
| 108 | android:paddingRight="8dip"> |
| 109 | <TextView |
| 110 | android:text="@string/autologin_bar_text" |
| 111 | android:layout_width="wrap_content" |
| 112 | android:layout_height="wrap_content" |
| 113 | android:textColor="@android:color/primary_text_light" |
| 114 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 115 | <Spinner |
| 116 | android:id="@+id/autologin_account" |
| 117 | android:layout_height="wrap_content" |
| 118 | android:layout_width="match_parent" |
| 119 | android:paddingLeft="8dp" |
| 120 | android:paddingRight="24dp" |
| 121 | style="@android:style/Widget.Holo.Light.Spinner" /> |
| 122 | </LinearLayout> |
| 123 | <LinearLayout |
| 124 | android:layout_width="match_parent" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 125 | android:layout_height="wrap_content" |
John Reck | 12472f6 | 2011-04-27 15:32:10 -0700 | [diff] [blame] | 126 | android:paddingLeft="8dip" |
| 127 | android:paddingRight="8dip"> |
| 128 | <Button |
| 129 | android:id="@+id/autologin_close" |
| 130 | android:layout_width="0dip" |
| 131 | android:layout_weight="1" |
| 132 | android:layout_height="wrap_content" |
| 133 | android:text="@string/autologin_bar_hide_text" |
| 134 | style="@android:style/Widget.Holo.Light.Button" /> |
| 135 | <ProgressBar |
| 136 | android:id="@+id/autologin_progress" |
| 137 | android:indeterminateOnly="true" |
| 138 | android:layout_height="wrap_content" |
| 139 | android:layout_width="wrap_content" |
| 140 | android:visibility="invisible" /> |
| 141 | <Button |
| 142 | android:id="@+id/autologin_login" |
| 143 | android:text="@string/autologin_bar_login_text" |
| 144 | style="@android:style/Widget.Holo.Light.Button" |
| 145 | android:layout_height="wrap_content" |
| 146 | android:layout_width="0dip" |
| 147 | android:layout_weight="1" /> |
| 148 | </LinearLayout> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 149 | <TextView |
| 150 | android:id="@+id/autologin_error" |
| 151 | android:layout_height="wrap_content" |
| 152 | android:layout_width="wrap_content" |
| 153 | android:textColor="#dd6826" |
| 154 | android:text="@string/autologin_bar_error" |
| 155 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 156 | android:visibility="gone" /> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 157 | </LinearLayout> |
Michael Kolb | c16c595 | 2011-03-29 15:37:03 -0700 | [diff] [blame] | 158 | <com.android.browser.PageProgressView |
| 159 | android:id="@+id/progress" |
| 160 | android:layout_width="match_parent" |
Michael Kolb | 8f11d06 | 2011-04-25 12:47:07 -0700 | [diff] [blame] | 161 | android:layout_height="wrap_content" |
Michael Kolb | c16c595 | 2011-03-29 15:37:03 -0700 | [diff] [blame] | 162 | android:background="@null" |
| 163 | android:layout_below="@+id/taburlbar" |
| 164 | android:src="@drawable/progress" |
Michael Kolb | 8f11d06 | 2011-04-25 12:47:07 -0700 | [diff] [blame] | 165 | android:layout_marginTop="-8dip" |
Michael Kolb | c16c595 | 2011-03-29 15:37:03 -0700 | [diff] [blame] | 166 | android:visibility="gone" /> |
John Reck | 12472f6 | 2011-04-27 15:32:10 -0700 | [diff] [blame] | 167 | </RelativeLayout> |