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" |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 25 | android:layout_height="wrap_content" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 26 | android:orientation="horizontal" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 27 | android:background="@drawable/bg_urlbar" |
| 28 | android:paddingLeft="4dip" |
| 29 | android:paddingRight="4dip" |
| 30 | android:paddingTop="2dip" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 31 | android:paddingBottom="2dip"> |
| 32 | <LinearLayout |
| 33 | android:id="@+id/title_bg" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 34 | android:layout_width="0dip" |
| 35 | android:layout_weight="1.0" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 36 | android:layout_height="40dip" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 37 | android:gravity="center_vertical" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 38 | android:orientation="horizontal"> |
| 39 | <ImageView |
| 40 | android:id="@+id/favicon" |
| 41 | android:layout_width="20dip" |
| 42 | android:layout_height="20dip" /> |
| 43 | <ImageView |
| 44 | android:id="@+id/lock" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_marginLeft="2dip" |
| 48 | android:visibility="gone" /> |
| 49 | <com.android.browser.UrlInputView |
| 50 | android:id="@+id/url" |
| 51 | android:focusable="true" |
| 52 | android:layout_width="0dip" |
| 53 | android:layout_weight="1.0" |
| 54 | android:layout_height="match_parent" |
| 55 | android:layout_marginLeft="2dip" |
| 56 | android:paddingLeft="0dip" |
| 57 | android:paddingRight="0dip" |
| 58 | android:background="@null" |
| 59 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 60 | android:hint="@string/search_hint" |
| 61 | android:singleLine="true" |
| 62 | android:ellipsize="end" |
| 63 | android:lines="1" |
| 64 | android:scrollHorizontally="true" |
| 65 | android:inputType="textUri" |
| 66 | android:imeOptions="actionGo" |
| 67 | style="@style/Suggestions" /> |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 68 | </LinearLayout> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 69 | <ImageView |
| 70 | android:id="@+id/voice" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="match_parent" |
| 73 | android:src="@drawable/ic_voice_search_holo_dark" |
| 74 | android:visibility="gone" /> |
| 75 | <com.android.browser.view.StopProgressView |
| 76 | style="?android:attr/progressBarStyleLarge" |
John Reck | bb2a345 | 2011-02-15 11:31:56 -0800 | [diff] [blame] | 77 | android:id="@+id/stop" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 78 | android:layout_width="36dip" |
| 79 | android:layout_height="36dip" |
| 80 | android:layout_gravity="center_vertical" |
| 81 | android:visibility="gone" /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 82 | </LinearLayout> |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 83 | <LinearLayout |
| 84 | android:id="@+id/autologin" |
| 85 | android:background="#FBF0A0" |
| 86 | android:gravity="center_vertical" |
| 87 | android:paddingTop="3dip" |
| 88 | android:visibility="gone" |
| 89 | android:layout_below="@+id/taburlbar" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 90 | android:layout_width="match_parent" |
Michael Kolb | 11d1978 | 2011-03-20 10:17:40 -0700 | [diff] [blame] | 91 | android:layout_height="wrap_content"> |
| 92 | <TextView |
| 93 | android:text="@string/autologin_bar_text" |
| 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="wrap_content" |
| 96 | android:textColor="@android:color/primary_text_light" |
| 97 | android:paddingLeft="15dip" |
| 98 | android:paddingRight="15dip" |
| 99 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 100 | <Spinner |
| 101 | android:id="@+id/autologin_account" |
| 102 | android:layout_height="wrap_content" |
| 103 | android:layout_width="wrap_content" |
| 104 | style="@android:style/Widget.Holo.Light.Spinner" /> |
| 105 | <Button |
| 106 | android:id="@+id/autologin_login" |
| 107 | android:text="@string/autologin_bar_login_text" |
| 108 | style="@android:style/Widget.Holo.Light.Button" |
| 109 | android:layout_marginRight="15dip" |
| 110 | android:layout_height="wrap_content" |
| 111 | android:layout_width="wrap_content" /> |
| 112 | <ProgressBar |
| 113 | android:id="@+id/autologin_progress" |
| 114 | android:indeterminateOnly="true" |
| 115 | android:layout_height="wrap_content" |
| 116 | android:layout_width="wrap_content" |
| 117 | android:visibility="gone" /> |
| 118 | <TextView |
| 119 | android:id="@+id/autologin_error" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:layout_width="wrap_content" |
| 122 | android:textColor="#dd6826" |
| 123 | android:text="@string/autologin_bar_error" |
| 124 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 125 | android:visibility="gone" /> |
| 126 | <View |
| 127 | android:layout_width="2dip" |
| 128 | android:layout_height="match_parent" |
| 129 | android:layout_weight="1" /> |
| 130 | <ImageButton |
| 131 | android:id="@+id/autologin_close" |
| 132 | android:layout_width="wrap_content" |
| 133 | android:layout_height="wrap_content" |
| 134 | android:paddingRight="15dip" |
| 135 | android:background="@null" |
| 136 | android:src="@*android:drawable/btn_close" /> |
| 137 | </LinearLayout> |
| 138 | </RelativeLayout> |