blob: 99ac04db5d6831e7adbaddfcf9e0608e94fb97c6 [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"
John Reck94b7e042011-02-15 15:02:33 -080021 android:orientation="vertical" >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040022
Leon Scroggins81db3662009-06-04 17:45:11 -040023 <LinearLayout
Romain Guy15b8ec62010-01-08 15:06:43 -080024 android:layout_width="match_parent"
Leon Scroggins81db3662009-06-04 17:45:11 -040025 android:layout_height="wrap_content"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040026 android:orientation="horizontal"
John Reck94b7e042011-02-15 15:02:33 -080027 android:background="@drawable/bg_urlbar"
28 android:paddingLeft="4dip"
29 android:paddingRight="4dip"
30 android:paddingTop="2dip"
31 android:paddingBottom="1dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040032 >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040033
Leon Scroggins68579392009-09-15 15:31:54 -040034 <LinearLayout android:id="@+id/title_bg"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040035 android:layout_width="0dip"
36 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080037 android:layout_height="48dip"
Leon Scrogginscd663ea2010-03-31 14:50:47 -040038 android:layout_marginBottom="4dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040039 android:gravity="center_vertical"
40 android:orientation="horizontal"
John Reck92026732011-02-15 10:12:30 -080041 android:background="@drawable/url_background"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040042 >
43 <ImageView android:id="@+id/favicon"
44 android:layout_width="20dip"
45 android:layout_height="20dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040046 />
47 <ImageView android:id="@+id/lock"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
John Reck94b7e042011-02-15 15:02:33 -080050 android:layout_marginLeft="3dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040051 android:visibility="gone"
52 />
John Reck92026732011-02-15 10:12:30 -080053 <com.android.browser.UrlInputView
54 android:id="@+id/url_input"
55 android:focusable="true"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040056 android:layout_width="0dip"
57 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080058 android:layout_height="match_parent"
John Reckbb2a3452011-02-15 11:31:56 -080059 android:layout_marginLeft="3dip"
John Reck92026732011-02-15 10:12:30 -080060 android:paddingLeft="0dip"
61 android:paddingRight="0dip"
62 android:background="@null"
63 android:textAppearance="?android:attr/textAppearanceMedium"
64 android:hint="@string/search_hint"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040065 android:singleLine="true"
66 android:ellipsize="end"
John Reck92026732011-02-15 10:12:30 -080067 android:lines="1"
68 android:scrollHorizontally="true"
69 android:inputType="textUri"
70 android:imeOptions="actionGo"
71 style="@style/Suggestions" />
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040072 </LinearLayout>
John Reckbb2a3452011-02-15 11:31:56 -080073 <ImageButton
74 android:id="@+id/stop"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050075 android:layout_width="wrap_content"
76 android:layout_height="match_parent"
John Reck94b7e042011-02-15 15:02:33 -080077 style="@style/HoloButton"
78 android:src="@drawable/ic_stop_holo_dark"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050079 android:visibility="gone"
80 />
John Reck92026732011-02-15 10:12:30 -080081 <ImageButton
John Reckbb2a3452011-02-15 11:31:56 -080082 android:id="@+id/bookmark"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040083 android:layout_width="wrap_content"
Romain Guy15b8ec62010-01-08 15:06:43 -080084 android:layout_height="match_parent"
John Reck94b7e042011-02-15 15:02:33 -080085 style="@style/HoloButton"
86 android:src="@drawable/btn_imageview_star"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040087 />
88 </LinearLayout>
John Reck94b7e042011-02-15 15:02:33 -080089
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 Scroggins81db3662009-06-04 17:45:11 -040098</LinearLayout>