blob: 3636ca856c4af1d59f5bc84c855ac1f301e355c5 [file] [log] [blame]
Michael Kolba2b2ba82010-08-04 17:54:03 -07001<?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright 2010, The Android Open Source Project Licensed under the
4 Apache License, Version 2.0 (the "License"); you may not use this file
5 except in compliance with the License. You may obtain a copy of the
6 License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
7 applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for
10 the specific language governing permissions and limitations under the
11 License.
12 -->
13<LinearLayout
14 xmlns:android="http://schemas.android.com/apk/res/android"
15 android:id="@+id/content"
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:orientation="vertical">
19 <LinearLayout
20 android:id="@+id/taburlbar"
21 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070022 android:layout_height="48dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070023 android:orientation="horizontal"
Michael Kolb2b5a13a2010-12-09 14:13:42 -080024 android:background="@drawable/bg_urlbar">
Michael Kolba2b2ba82010-08-04 17:54:03 -070025 <ImageButton
26 android:id="@+id/back"
Michael Kolbc7485ae2010-09-03 10:10:58 -070027 android:src="@drawable/ic_back_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070028 android:layout_width="wrap_content"
29 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070030 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070031 android:background="@drawable/browserbarbutton" />
32 <ImageButton
33 android:id="@+id/forward"
Michael Kolbc7485ae2010-09-03 10:10:58 -070034 android:src="@drawable/ic_forward_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070035 android:layout_width="wrap_content"
36 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070037 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070038 android:background="@drawable/browserbarbutton" />
Michael Kolbc7485ae2010-09-03 10:10:58 -070039 <ImageView
40 android:id="@+id/stop"
41 android:background="@drawable/browserbarbutton"
42 android:layout_width="wrap_content"
43 android:layout_height="match_parent"
44 style="@style/HoloButton"
45 android:gravity="center_vertical"
46 android:src="@drawable/ic_stop_normal" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070047 <LinearLayout
Michael Kolb513286f2010-09-09 12:55:12 -070048 android:id="@+id/urlbar_unfocused"
Michael Kolba2b2ba82010-08-04 17:54:03 -070049 android:layout_width="0dip"
50 android:layout_height="match_parent"
51 android:layout_weight="1.0"
Michael Kolb513286f2010-09-09 12:55:12 -070052 android:background="@null"
Michael Kolbb7b115e2010-09-25 16:59:37 -070053 android:orientation="horizontal">
54 <ImageView
55 android:id="@+id/browsericon"
56 android:src="@drawable/ic_web_white"
Michael Kolba2b2ba82010-08-04 17:54:03 -070057 android:layout_width="wrap_content"
58 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -070059 style="@style/HoloButton" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070060 <ImageView
61 android:id="@+id/lock"
62 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -070063 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070064 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -070065 android:visibility="gone" />
Michael Kolbba99c5d2010-11-29 14:57:41 -080066 <TextView
Michael Kolb513286f2010-09-09 12:55:12 -070067 android:id="@+id/url_unfocused"
Michael Kolba2b2ba82010-08-04 17:54:03 -070068 android:layout_width="0dip"
69 android:layout_weight="1.0"
70 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070071 android:background="@null"
Michael Kolba2b2ba82010-08-04 17:54:03 -070072 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -070073 android:textColor="#ffc0c0c0"
Michael Kolba2b2ba82010-08-04 17:54:03 -070074 android:hint="@string/search_hint"
75 android:gravity="center_vertical"
76 android:singleLine="true"
77 android:ellipsize="end"
78 android:lines="1"
Michael Kolbba99c5d2010-11-29 14:57:41 -080079 android:scrollHorizontally="true" />
Leon Scroggins4cd97792010-12-03 15:31:56 -050080 <view class="com.android.browser.TitleBarXLarge$CustomCheck"
Michael Kolbb7b115e2010-09-25 16:59:37 -070081 android:id="@+id/star"
Michael Kolba2b2ba82010-08-04 17:54:03 -070082 android:layout_width="wrap_content"
83 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070084 style="@style/HoloButton"
Leon Scroggins4cd97792010-12-03 15:31:56 -050085 android:focusable="false"
86 android:button="@android:drawable/btn_star"
Michael Kolba2b2ba82010-08-04 17:54:03 -070087 android:background="@drawable/browserbarbutton" />
88 </LinearLayout>
Michael Kolb513286f2010-09-09 12:55:12 -070089 <LinearLayout
90 android:id="@+id/urlbar_focused"
91 android:layout_width="0dip"
92 android:layout_height="match_parent"
93 android:layout_weight="1.0"
94 android:orientation="horizontal"
95 android:background="@drawable/text_field_results"
Michael Kolbb7b115e2010-09-25 16:59:37 -070096 android:visibility="gone">
Michael Kolb513286f2010-09-09 12:55:12 -070097 <ImageView
98 android:id="@+id/searchicon"
99 android:src="@drawable/ic_search_category_suggest"
100 android:layout_width="wrap_content"
101 android:layout_height="match_parent"
102 style="@style/HoloButton" />
103 <com.android.browser.UrlInputView
104 android:id="@+id/url_focused"
105 android:layout_width="0dip"
106 android:layout_weight="1.0"
107 android:layout_height="match_parent"
108 android:background="@null"
109 android:textAppearance="?android:attr/textAppearanceMedium"
110 android:textColor="@color/black"
111 android:hint="@string/search_hint"
112 android:gravity="center_vertical"
113 android:singleLine="true"
114 android:ellipsize="end"
115 android:lines="1"
116 android:scrollHorizontally="true"
117 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -0800118 android:imeOptions="actionGo"
119 style="@style/Suggestions" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700120 <ImageView
121 android:id="@+id/clear"
122 android:src="@drawable/ic_clear_search"
Michael Kolb513286f2010-09-09 12:55:12 -0700123 android:layout_width="wrap_content"
124 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700125 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -0700126 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700127 <ImageButton
128 android:id="@+id/go"
129 android:src="@drawable/ic_go_normal_white"
130 android:layout_width="wrap_content"
131 android:layout_height="match_parent"
132 android:visibility="gone"
133 android:gravity="center_vertical"
134 style="@style/HoloButton"
135 android:background="@drawable/browserbarbutton" />
136 <ImageButton
137 android:id="@+id/search"
138 android:src="@drawable/ic_search_normal"
139 android:layout_width="wrap_content"
140 android:layout_height="match_parent"
141 android:gravity="center_vertical"
142 style="@style/HoloButton"
143 android:background="@drawable/browserbarbutton" />
144 <ImageButton
145 android:id="@+id/all_btn"
146 android:layout_width="wrap_content"
147 android:layout_height="match_parent"
148 android:scaleType="center"
149 style="@style/HoloButton"
150 android:background="@drawable/browserbarbutton"
151 android:src="@drawable/ic_bookmarks_history_normal" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700152 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700153 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700154 android:id="@+id/progress"
155 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700156 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700157 android:background="@null"
158 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700159 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700160 android:visibility="gone" />
161</LinearLayout>