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 | <!-- |
| 3 | Copyright 2009, 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 | --> |
| 17 | |
| 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Leon Scroggins | 9535cee | 2010-03-15 20:37:16 -0400 | [diff] [blame] | 20 | android:layout_height="wrap_content" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 21 | android:orientation="vertical" > |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 22 | |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 23 | <LinearLayout |
John Reck | b9a051b | 2011-03-18 11:55:48 -0700 | [diff] [blame^] | 24 | android:id="@+id/taburlbar" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 26 | android:layout_height="wrap_content" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 27 | android:orientation="horizontal" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 28 | android:background="@drawable/bg_urlbar" |
| 29 | android:paddingLeft="4dip" |
| 30 | android:paddingRight="4dip" |
| 31 | android:paddingTop="2dip" |
| 32 | android:paddingBottom="1dip" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 33 | > |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 34 | |
Leon Scroggins | 6857939 | 2009-09-15 15:31:54 -0400 | [diff] [blame] | 35 | <LinearLayout android:id="@+id/title_bg" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 36 | android:layout_width="0dip" |
| 37 | android:layout_weight="1.0" |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 38 | android:layout_height="48dip" |
Leon Scroggins | cd663ea | 2010-03-31 14:50:47 -0400 | [diff] [blame] | 39 | android:layout_marginBottom="4dip" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 40 | android:gravity="center_vertical" |
| 41 | android:orientation="horizontal" |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 42 | android:background="@drawable/url_background" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 43 | > |
| 44 | <ImageView android:id="@+id/favicon" |
| 45 | android:layout_width="20dip" |
| 46 | android:layout_height="20dip" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 47 | /> |
| 48 | <ImageView android:id="@+id/lock" |
| 49 | android:layout_width="wrap_content" |
| 50 | android:layout_height="wrap_content" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 51 | android:layout_marginLeft="3dip" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 52 | android:visibility="gone" |
| 53 | /> |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 54 | <com.android.browser.UrlInputView |
| 55 | android:id="@+id/url_input" |
| 56 | android:focusable="true" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 57 | android:layout_width="0dip" |
| 58 | android:layout_weight="1.0" |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 59 | android:layout_height="match_parent" |
John Reck | bb2a345 | 2011-02-15 11:31:56 -0800 | [diff] [blame] | 60 | android:layout_marginLeft="3dip" |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 61 | android:paddingLeft="0dip" |
| 62 | android:paddingRight="0dip" |
| 63 | android:background="@null" |
| 64 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 65 | android:hint="@string/search_hint" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 66 | android:singleLine="true" |
| 67 | android:ellipsize="end" |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 68 | android:lines="1" |
| 69 | android:scrollHorizontally="true" |
| 70 | android:inputType="textUri" |
| 71 | android:imeOptions="actionGo" |
| 72 | style="@style/Suggestions" /> |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 73 | </LinearLayout> |
John Reck | bb2a345 | 2011-02-15 11:31:56 -0800 | [diff] [blame] | 74 | <ImageButton |
| 75 | android:id="@+id/stop" |
Leon Scroggins | b3b04f7 | 2010-03-03 17:17:18 -0500 | [diff] [blame] | 76 | android:layout_width="wrap_content" |
| 77 | android:layout_height="match_parent" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 78 | style="@style/HoloButton" |
| 79 | android:src="@drawable/ic_stop_holo_dark" |
Leon Scroggins | b3b04f7 | 2010-03-03 17:17:18 -0500 | [diff] [blame] | 80 | android:visibility="gone" |
| 81 | /> |
John Reck | 9202673 | 2011-02-15 10:12:30 -0800 | [diff] [blame] | 82 | <ImageButton |
John Reck | bb2a345 | 2011-02-15 11:31:56 -0800 | [diff] [blame] | 83 | android:id="@+id/bookmark" |
Leon Scroggins | 5bd55d1 | 2009-09-22 11:23:52 -0400 | [diff] [blame] | 84 | android:layout_width="wrap_content" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 85 | android:layout_height="match_parent" |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 86 | style="@style/HoloButton" |
| 87 | android:src="@drawable/btn_imageview_star" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 88 | /> |
| 89 | </LinearLayout> |
John Reck | 94b7e04 | 2011-02-15 15:02:33 -0800 | [diff] [blame] | 90 | |
| 91 | <com.android.browser.PageProgressView |
| 92 | android:id="@+id/progress_horizontal" |
| 93 | android:layout_width="match_parent" |
| 94 | android:layout_height="22dip" |
| 95 | android:background="@null" |
| 96 | android:src="@drawable/progress" |
| 97 | android:layout_marginTop="-11dip" |
| 98 | android:visibility="gone" /> |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 99 | </LinearLayout> |