blob: f6d519f3c980a3b180b0f10058ae95e16b156e85 [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
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080019 android:layout_width="match_parent"
Leon Scroggins9535cee2010-03-15 20:37:16 -040020 android:layout_height="wrap_content"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040021 android:orientation="vertical"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040022 android:paddingLeft="8dip"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040023 android:paddingRight="12dip"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040024 android:paddingTop="2dip"
Leon Scroggins3f68d272009-09-29 13:08:35 -040025 android:paddingBottom="1dip"
John Reck92026732011-02-15 10:12:30 -080026 android:background="@drawable/bg_urlbar" >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040027
28 <ProgressBar android:id="@+id/progress_horizontal"
29 style="?android:attr/progressBarStyleHorizontal"
Romain Guy15b8ec62010-01-08 15:06:43 -080030 android:layout_width="match_parent"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040031 android:layout_height="5dip"
Leon Scroggins73d5e982009-10-09 14:54:44 -040032 android:layout_marginLeft="1dip"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040033 android:max="100"
Leon Scroggins81db3662009-06-04 17:45:11 -040034 />
Leon Scrogginsa81a7642009-08-31 17:05:41 -040035
Leon Scroggins81db3662009-06-04 17:45:11 -040036 <LinearLayout
Romain Guy15b8ec62010-01-08 15:06:43 -080037 android:layout_width="match_parent"
Leon Scroggins81db3662009-06-04 17:45:11 -040038 android:layout_height="wrap_content"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040039 android:orientation="horizontal"
40 >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040041
Leon Scroggins68579392009-09-15 15:31:54 -040042 <LinearLayout android:id="@+id/title_bg"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040043 android:layout_width="0dip"
44 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080045 android:layout_height="48dip"
Leon Scrogginscd663ea2010-03-31 14:50:47 -040046 android:layout_marginBottom="4dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040047 android:gravity="center_vertical"
48 android:orientation="horizontal"
John Reck92026732011-02-15 10:12:30 -080049 android:background="@drawable/url_background"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040050 >
51 <ImageView android:id="@+id/favicon"
52 android:layout_width="20dip"
53 android:layout_height="20dip"
54 android:layout_marginLeft="3dip"
55 />
56 <ImageView android:id="@+id/lock"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:layout_marginLeft="6dip"
60 android:visibility="gone"
61 />
John Reck92026732011-02-15 10:12:30 -080062 <com.android.browser.UrlInputView
63 android:id="@+id/url_input"
64 android:focusable="true"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040065 android:layout_width="0dip"
66 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080067 android:layout_height="match_parent"
John Reckbb2a3452011-02-15 11:31:56 -080068 android:layout_marginLeft="3dip"
John Reck92026732011-02-15 10:12:30 -080069 android:paddingLeft="0dip"
70 android:paddingRight="0dip"
71 android:background="@null"
72 android:textAppearance="?android:attr/textAppearanceMedium"
73 android:hint="@string/search_hint"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040074 android:singleLine="true"
75 android:ellipsize="end"
John Reck92026732011-02-15 10:12:30 -080076 android:lines="1"
77 android:scrollHorizontally="true"
78 android:inputType="textUri"
79 android:imeOptions="actionGo"
80 style="@style/Suggestions" />
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040081 </LinearLayout>
John Reckbb2a3452011-02-15 11:31:56 -080082 <ImageButton
83 android:id="@+id/stop"
Leon Scrogginsbf083d22010-03-22 10:54:04 -040084 android:background="@drawable/stop_background"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050085 android:layout_width="wrap_content"
86 android:layout_height="match_parent"
Leon Scrogginscd663ea2010-03-31 14:50:47 -040087 android:layout_marginBottom="4dip"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050088 android:src="@drawable/ic_btn_stop_v2"
89 android:visibility="gone"
90 />
John Reck92026732011-02-15 10:12:30 -080091 <ImageButton
John Reckbb2a3452011-02-15 11:31:56 -080092 android:id="@+id/bookmark"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040093 android:layout_width="wrap_content"
Romain Guy15b8ec62010-01-08 15:06:43 -080094 android:layout_height="match_parent"
Leon Scrogginsca96f062010-02-24 12:19:15 -050095 android:layout_marginLeft="-2dip"
96 android:layout_marginTop="-6.5dip"
97 android:layout_marginBottom="-2dip"
98 android:layout_marginRight="-5dip"
Leon Scroggins3f68d272009-09-29 13:08:35 -040099 android:scaleType="center"
Leon Scrogginsf71f9fb2009-09-23 16:19:22 -0400100 android:background="@drawable/btn_bookmark"
Michael Kolb5a72f182011-01-13 20:35:06 -0800101 android:src="@drawable/ic_bookmark_on_holo_dark"
Leon Scrogginsa81a7642009-08-31 17:05:41 -0400102 />
103 </LinearLayout>
Leon Scroggins81db3662009-06-04 17:45:11 -0400104</LinearLayout>