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