blob: 34728d88b9972bda46ed5895ec205e04f479b69b [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
John Reckb9a051b2011-03-18 11:55:48 -070024 android:id="@+id/taburlbar"
Romain Guy15b8ec62010-01-08 15:06:43 -080025 android:layout_width="match_parent"
Leon Scroggins81db3662009-06-04 17:45:11 -040026 android:layout_height="wrap_content"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040027 android:orientation="horizontal"
John Reck94b7e042011-02-15 15:02:33 -080028 android:background="@drawable/bg_urlbar"
29 android:paddingLeft="4dip"
30 android:paddingRight="4dip"
31 android:paddingTop="2dip"
32 android:paddingBottom="1dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040033 >
Leon Scrogginsa81a7642009-08-31 17:05:41 -040034
Leon Scroggins68579392009-09-15 15:31:54 -040035 <LinearLayout android:id="@+id/title_bg"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040036 android:layout_width="0dip"
37 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080038 android:layout_height="48dip"
Leon Scrogginscd663ea2010-03-31 14:50:47 -040039 android:layout_marginBottom="4dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040040 android:gravity="center_vertical"
41 android:orientation="horizontal"
John Reck92026732011-02-15 10:12:30 -080042 android:background="@drawable/url_background"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040043 >
44 <ImageView android:id="@+id/favicon"
45 android:layout_width="20dip"
46 android:layout_height="20dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040047 />
48 <ImageView android:id="@+id/lock"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
John Reck94b7e042011-02-15 15:02:33 -080051 android:layout_marginLeft="3dip"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040052 android:visibility="gone"
53 />
John Reck92026732011-02-15 10:12:30 -080054 <com.android.browser.UrlInputView
55 android:id="@+id/url_input"
56 android:focusable="true"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040057 android:layout_width="0dip"
58 android:layout_weight="1.0"
John Reck92026732011-02-15 10:12:30 -080059 android:layout_height="match_parent"
John Reckbb2a3452011-02-15 11:31:56 -080060 android:layout_marginLeft="3dip"
John Reck92026732011-02-15 10:12:30 -080061 android:paddingLeft="0dip"
62 android:paddingRight="0dip"
63 android:background="@null"
64 android:textAppearance="?android:attr/textAppearanceMedium"
65 android:hint="@string/search_hint"
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040066 android:singleLine="true"
67 android:ellipsize="end"
John Reck92026732011-02-15 10:12:30 -080068 android:lines="1"
69 android:scrollHorizontally="true"
70 android:inputType="textUri"
71 android:imeOptions="actionGo"
72 style="@style/Suggestions" />
Leon Scrogginsf4bb18a2009-09-11 18:37:53 -040073 </LinearLayout>
John Reckbb2a3452011-02-15 11:31:56 -080074 <ImageButton
75 android:id="@+id/stop"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050076 android:layout_width="wrap_content"
77 android:layout_height="match_parent"
John Reck94b7e042011-02-15 15:02:33 -080078 style="@style/HoloButton"
79 android:src="@drawable/ic_stop_holo_dark"
Leon Scrogginsb3b04f72010-03-03 17:17:18 -050080 android:visibility="gone"
81 />
John Reck92026732011-02-15 10:12:30 -080082 <ImageButton
John Reckbb2a3452011-02-15 11:31:56 -080083 android:id="@+id/bookmark"
Leon Scroggins5bd55d12009-09-22 11:23:52 -040084 android:layout_width="wrap_content"
Romain Guy15b8ec62010-01-08 15:06:43 -080085 android:layout_height="match_parent"
John Reck94b7e042011-02-15 15:02:33 -080086 style="@style/HoloButton"
87 android:src="@drawable/btn_imageview_star"
Leon Scrogginsa81a7642009-08-31 17:05:41 -040088 />
89 </LinearLayout>
John Reck94b7e042011-02-15 15:02:33 -080090
91 <com.android.browser.PageProgressView
92 android:id="@+id/progress_horizontal"
93 android:layout_width="match_parent"
94 android:layout_height="22dip"
95 android:background="@null"
96 android:src="@drawable/progress"
97 android:layout_marginTop="-11dip"
98 android:visibility="gone" />
Leon Scroggins81db3662009-06-04 17:45:11 -040099</LinearLayout>