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 | |
Leon Scroggins | b3b04f7 | 2010-03-03 17:17:18 -0500 | [diff] [blame^] | 18 | <!-- Manually set the height, to ensure that it matches the SearchDialog's |
| 19 | height. It also ensures that when the stop button is showing it does |
| 20 | not change its height. --> |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 21 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 22 | android:layout_width="match_parent" |
Leon Scroggins | b3b04f7 | 2010-03-03 17:17:18 -0500 | [diff] [blame^] | 23 | android:layout_height="57dip" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 24 | android:orientation="vertical" |
Leon Scroggins | 5bd55d1 | 2009-09-22 11:23:52 -0400 | [diff] [blame] | 25 | android:paddingLeft="8dip" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 26 | android:paddingRight="12dip" |
Leon Scroggins | 5bd55d1 | 2009-09-22 11:23:52 -0400 | [diff] [blame] | 27 | android:paddingTop="2dip" |
Leon Scroggins | 3f68d27 | 2009-09-29 13:08:35 -0400 | [diff] [blame] | 28 | android:paddingBottom="1dip" |
Leon Scroggins | 5bd55d1 | 2009-09-22 11:23:52 -0400 | [diff] [blame] | 29 | android:background="@drawable/search_plate_browser" > |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 30 | |
| 31 | <ProgressBar android:id="@+id/progress_horizontal" |
| 32 | style="?android:attr/progressBarStyleHorizontal" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 33 | android:layout_width="match_parent" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 34 | android:layout_height="5dip" |
Leon Scroggins | 73d5e98 | 2009-10-09 14:54:44 -0400 | [diff] [blame] | 35 | android:layout_marginLeft="1dip" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 36 | android:max="100" |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 37 | /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 38 | |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 39 | <LinearLayout |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 40 | android:layout_width="match_parent" |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 41 | android:layout_height="wrap_content" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 42 | android:orientation="horizontal" |
| 43 | > |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 44 | |
Leon Scroggins | 6857939 | 2009-09-15 15:31:54 -0400 | [diff] [blame] | 45 | <LinearLayout android:id="@+id/title_bg" |
Leon Scroggins | f71f9fb | 2009-09-23 16:19:22 -0400 | [diff] [blame] | 46 | android:background="@drawable/title_text" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 47 | android:layout_width="0dip" |
| 48 | android:layout_weight="1.0" |
Leon Scroggins | 62e8f94 | 2009-09-03 15:08:54 -0400 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
Leon Scroggins | f4bb18a | 2009-09-11 18:37:53 -0400 | [diff] [blame] | 50 | android:gravity="center_vertical" |
| 51 | android:orientation="horizontal" |
| 52 | > |
| 53 | <ImageView android:id="@+id/favicon" |
| 54 | android:layout_width="20dip" |
| 55 | android:layout_height="20dip" |
| 56 | android:layout_marginLeft="3dip" |
| 57 | /> |
| 58 | <ImageView android:id="@+id/lock" |
| 59 | android:layout_width="wrap_content" |
| 60 | android:layout_height="wrap_content" |
| 61 | android:layout_marginLeft="6dip" |
| 62 | android:visibility="gone" |
| 63 | /> |
| 64 | <TextView |
| 65 | android:id="@+id/title" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:layout_width="0dip" |
| 68 | android:layout_weight="1.0" |
| 69 | android:paddingLeft="8dip" |
| 70 | android:paddingRight="6dip" |
| 71 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 72 | android:textColor="@color/black" |
| 73 | android:gravity="center_vertical" |
| 74 | android:singleLine="true" |
| 75 | android:ellipsize="end" |
| 76 | /> |
| 77 | </LinearLayout> |
Leon Scroggins | b3b04f7 | 2010-03-03 17:17:18 -0500 | [diff] [blame^] | 78 | <ImageView android:id="@+id/stop" |
| 79 | android:background="@*android:drawable/btn_search_dialog" |
| 80 | android:layout_width="wrap_content" |
| 81 | android:layout_height="match_parent" |
| 82 | android:src="@drawable/ic_btn_stop_v2" |
| 83 | android:visibility="gone" |
| 84 | /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 85 | <ImageView |
| 86 | android:id="@+id/rt_btn" |
Leon Scroggins | 5bd55d1 | 2009-09-22 11:23:52 -0400 | [diff] [blame] | 87 | android:layout_width="wrap_content" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 88 | android:layout_height="match_parent" |
Leon Scroggins | ca96f06 | 2010-02-24 12:19:15 -0500 | [diff] [blame] | 89 | android:layout_marginLeft="-2dip" |
| 90 | android:layout_marginTop="-6.5dip" |
| 91 | android:layout_marginBottom="-2dip" |
| 92 | android:layout_marginRight="-5dip" |
Leon Scroggins | 3f68d27 | 2009-09-29 13:08:35 -0400 | [diff] [blame] | 93 | android:scaleType="center" |
Leon Scroggins | f71f9fb | 2009-09-23 16:19:22 -0400 | [diff] [blame] | 94 | android:background="@drawable/btn_bookmark" |
Leon Scroggins | baefe4a | 2009-09-30 11:23:20 -0400 | [diff] [blame] | 95 | android:src="@drawable/ic_btn_bookmarks" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 96 | /> |
| 97 | </LinearLayout> |
Leon Scroggins | 81db366 | 2009-06-04 17:45:11 -0400 | [diff] [blame] | 98 | </LinearLayout> |