blob: ba93d1bbc1515a0b03231c78c6e81e1ebf257296 [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 Kolbb7b115e2010-09-25 16:59:37 -070024 android:background="@drawable/urlbar_bg">
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" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070080 <ImageButton
Michael Kolbb7b115e2010-09-25 16:59:37 -070081 android:id="@+id/star"
82 android:src="@drawable/ic_favorite_off_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070083 android:layout_width="wrap_content"
84 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070085 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070086 android:background="@drawable/browserbarbutton" />
87 </LinearLayout>
Michael Kolb513286f2010-09-09 12:55:12 -070088 <LinearLayout
89 android:id="@+id/urlbar_focused"
90 android:layout_width="0dip"
91 android:layout_height="match_parent"
92 android:layout_weight="1.0"
93 android:orientation="horizontal"
94 android:background="@drawable/text_field_results"
Michael Kolbb7b115e2010-09-25 16:59:37 -070095 android:visibility="gone">
Michael Kolb513286f2010-09-09 12:55:12 -070096 <ImageView
97 android:id="@+id/searchicon"
98 android:src="@drawable/ic_search_category_suggest"
99 android:layout_width="wrap_content"
100 android:layout_height="match_parent"
101 style="@style/HoloButton" />
102 <com.android.browser.UrlInputView
103 android:id="@+id/url_focused"
104 android:layout_width="0dip"
105 android:layout_weight="1.0"
106 android:layout_height="match_parent"
107 android:background="@null"
108 android:textAppearance="?android:attr/textAppearanceMedium"
109 android:textColor="@color/black"
110 android:hint="@string/search_hint"
111 android:gravity="center_vertical"
112 android:singleLine="true"
113 android:ellipsize="end"
114 android:lines="1"
115 android:scrollHorizontally="true"
116 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -0800117 android:imeOptions="actionGo"
118 style="@style/Suggestions" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700119 <ImageView
120 android:id="@+id/clear"
121 android:src="@drawable/ic_clear_search"
Michael Kolb513286f2010-09-09 12:55:12 -0700122 android:layout_width="wrap_content"
123 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700124 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -0700125 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700126 <ImageButton
127 android:id="@+id/go"
128 android:src="@drawable/ic_go_normal_white"
129 android:layout_width="wrap_content"
130 android:layout_height="match_parent"
131 android:visibility="gone"
132 android:gravity="center_vertical"
133 style="@style/HoloButton"
134 android:background="@drawable/browserbarbutton" />
135 <ImageButton
136 android:id="@+id/search"
137 android:src="@drawable/ic_search_normal"
138 android:layout_width="wrap_content"
139 android:layout_height="match_parent"
140 android:gravity="center_vertical"
141 style="@style/HoloButton"
142 android:background="@drawable/browserbarbutton" />
143 <ImageButton
144 android:id="@+id/all_btn"
145 android:layout_width="wrap_content"
146 android:layout_height="match_parent"
147 android:scaleType="center"
148 style="@style/HoloButton"
149 android:background="@drawable/browserbarbutton"
150 android:src="@drawable/ic_bookmarks_history_normal" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700151 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700152 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700153 android:id="@+id/progress"
154 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700155 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700156 android:background="@null"
157 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700158 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700159 android:visibility="gone" />
160</LinearLayout>