blob: 22ab6e494540c67860b47703bd0608eb7a8a69d4 [file] [log] [blame]
Leon Scroggins81db3662009-06-04 17:45:11 -04001<?xml version="1.0" encoding="utf-8"?>
Leon Scrogginsa81a7642009-08-31 17:05:41 -04002<!--
3 Copyright 2009, The Android Open Source Project
Leon Scroggins81db3662009-06-04 17:45:11 -04004
Leon Scrogginsa81a7642009-08-31 17:05:41 -04005 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 Scroggins81db3662009-06-04 17:45:11 -04008
Leon Scrogginsa81a7642009-08-31 17:05:41 -04009 http://www.apache.org/licenses/LICENSE-2.0
Leon Scroggins81db3662009-06-04 17:45:11 -040010
Leon Scrogginsa81a7642009-08-31 17:05:41 -040011 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 Scroggins81db3662009-06-04 17:45:11 -040016-->
17
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050018<!-- 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 Scroggins81db3662009-06-04 17:45:11 -040021<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080022 android:layout_width="match_parent"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050023 android:layout_height="57dip"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040024 android:orientation="vertical"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040025 android:paddingLeft="8dip"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040026 android:paddingRight="12dip"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040027 android:paddingTop="2dip"
Leon Scroggins3f68d272009-09-29 13:08:35 -040028 android:paddingBottom="1dip"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040029 android:background="@drawable/search_plate_browser" >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040030
31 <ProgressBar android:id="@+id/progress_horizontal"
32 style="?android:attr/progressBarStyleHorizontal"
Romain Guy15b8ec62010-01-08 15:06:43 -080033 android:layout_width="match_parent"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040034 android:layout_height="5dip"
Leon Scroggins73d5e982009-10-09 14:54:44 -040035 android:layout_marginLeft="1dip"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040036 android:max="100"
Leon Scroggins81db3662009-06-04 17:45:11 -040037 />
Leon Scrogginsa81a7642009-08-31 17:05:41 -040038
Leon Scroggins81db3662009-06-04 17:45:11 -040039 <LinearLayout
Romain Guy15b8ec62010-01-08 15:06:43 -080040 android:layout_width="match_parent"
Leon Scroggins81db3662009-06-04 17:45:11 -040041 android:layout_height="wrap_content"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040042 android:orientation="horizontal"
43 >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040044
Leon Scroggins68579392009-09-15 15:31:54 -040045 <LinearLayout android:id="@+id/title_bg"
Leon Scrogginsf71f9fb2009-09-23 16:19:22 -040046 android:background="@drawable/title_text"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040047 android:layout_width="0dip"
48 android:layout_weight="1.0"
Leon Scroggins62e8f942009-09-03 15:08:54 -040049 android:layout_height="wrap_content"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040050 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 Scrogginsb3b04f72010-03-03 17:17:18 -050078 <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 Scrogginsa81a7642009-08-31 17:05:41 -040085 <ImageView
86 android:id="@+id/rt_btn"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040087 android:layout_width="wrap_content"
Romain Guy15b8ec62010-01-08 15:06:43 -080088 android:layout_height="match_parent"
Leon Scrogginsca96f062010-02-24 12:19:15 -050089 android:layout_marginLeft="-2dip"
90 android:layout_marginTop="-6.5dip"
91 android:layout_marginBottom="-2dip"
92 android:layout_marginRight="-5dip"
Leon Scroggins3f68d272009-09-29 13:08:35 -040093 android:scaleType="center"
Leon Scrogginsf71f9fb2009-09-23 16:19:22 -040094 android:background="@drawable/btn_bookmark"
Leon Scrogginsbaefe4a2009-09-30 11:23:20 -040095 android:src="@drawable/ic_btn_bookmarks"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040096 />
97 </LinearLayout>
Leon Scroggins81db3662009-06-04 17:45:11 -040098</LinearLayout>