blob: 20081f025672eac06cbadac3079393de816168e3 [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 Kolb5a72f182011-01-13 20:35:06 -080027 android:src="@drawable/ic_back_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070028 android:layout_width="wrap_content"
29 android:layout_height="match_parent"
John Reck3f24ba22011-01-20 12:55:17 -080030 android:paddingLeft="16dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080031 style="@style/HoloButton" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070032 <ImageButton
33 android:id="@+id/forward"
Michael Kolb5a72f182011-01-13 20:35:06 -080034 android:src="@drawable/ic_forward_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070035 android:layout_width="wrap_content"
36 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080037 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080038 <ImageButton
Michael Kolbc7485ae2010-09-03 10:10:58 -070039 android:id="@+id/stop"
Michael Kolbc7485ae2010-09-03 10:10:58 -070040 android:layout_width="wrap_content"
41 android:layout_height="match_parent"
42 style="@style/HoloButton"
43 android:gravity="center_vertical"
Michael Kolb5a72f182011-01-13 20:35:06 -080044 android:src="@drawable/ic_stop_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070045 <LinearLayout
Michael Kolb31d469b2010-12-09 20:49:54 -080046 android:id="@+id/urlbar_focused"
Michael Kolba2b2ba82010-08-04 17:54:03 -070047 android:layout_width="0dip"
48 android:layout_height="match_parent"
49 android:layout_weight="1.0"
John Reck3f24ba22011-01-20 12:55:17 -080050 android:layout_marginLeft="8dip"
51 android:layout_marginRight="8dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080052 android:orientation="horizontal"
Michael Kolba4183062011-01-16 10:43:21 -080053 android:background="@drawable/url_background">
Michael Kolbcfa3af52010-12-14 10:36:11 -080054 <ImageView
55 android:id="@+id/voice_icon"
56 android:layout_width="wrap_content"
57 android:layout_height="match_parent"
Michael Kolb5a72f182011-01-13 20:35:06 -080058 android:src="@drawable/ic_search_holo_dark"
Michael Kolbcfa3af52010-12-14 10:36:11 -080059 style="@style/HoloIcon"
60 android:visibility="gone" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070061 <ImageView
62 android:id="@+id/lock"
63 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -070064 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070065 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -070066 android:visibility="gone" />
Michael Kolb513286f2010-09-09 12:55:12 -070067 <com.android.browser.UrlInputView
68 android:id="@+id/url_focused"
Michael Kolba4183062011-01-16 10:43:21 -080069 android:focusable="true"
Michael Kolb513286f2010-09-09 12:55:12 -070070 android:layout_width="0dip"
71 android:layout_weight="1.0"
72 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080073 android:layout_marginTop="12dip"
74 android:layout_marginLeft="16dip"
75 android:paddingLeft="0dip"
76 android:paddingRight="0dip"
Michael Kolb513286f2010-09-09 12:55:12 -070077 android:background="@null"
78 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -070079 android:hint="@string/search_hint"
Michael Kolb513286f2010-09-09 12:55:12 -070080 android:singleLine="true"
81 android:ellipsize="end"
82 android:lines="1"
83 android:scrollHorizontally="true"
84 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -080085 android:imeOptions="actionGo"
86 style="@style/Suggestions" />
Michael Kolba4183062011-01-16 10:43:21 -080087 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -080088 android:id="@+id/star"
John Reck0ce8a942011-01-14 19:57:09 -080089 android:src="@drawable/btn_imageview_star"
Michael Kolb31d469b2010-12-09 20:49:54 -080090 android:layout_width="wrap_content"
91 android:layout_height="match_parent"
92 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080093 <ImageButton
Michael Kolbb7b115e2010-09-25 16:59:37 -070094 android:id="@+id/clear"
Michael Kolb5a72f182011-01-13 20:35:06 -080095 android:src="@drawable/ic_stop_holo_dark"
Michael Kolb513286f2010-09-09 12:55:12 -070096 android:layout_width="wrap_content"
97 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -070098 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -070099 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700100 <ImageButton
101 android:id="@+id/go"
Michael Kolb5a72f182011-01-13 20:35:06 -0800102 android:src="@drawable/ic_go_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700103 android:layout_width="wrap_content"
104 android:layout_height="match_parent"
105 android:visibility="gone"
106 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800107 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800108 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800109 android:id="@+id/voicesearch"
Michael Kolb5a72f182011-01-13 20:35:06 -0800110 android:src="@drawable/ic_voice_search_holo_dark"
Michael Kolb31d469b2010-12-09 20:49:54 -0800111 android:layout_width="wrap_content"
112 android:layout_height="match_parent"
113 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700114 <ImageButton
115 android:id="@+id/search"
Michael Kolb5a72f182011-01-13 20:35:06 -0800116 android:src="@drawable/ic_search_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700117 android:layout_width="wrap_content"
118 android:layout_height="match_parent"
119 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800120 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700121 <ImageButton
122 android:id="@+id/all_btn"
123 android:layout_width="wrap_content"
124 android:layout_height="match_parent"
125 android:scaleType="center"
John Reck3f24ba22011-01-20 12:55:17 -0800126 android:paddingRight="16dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700127 style="@style/HoloButton"
Michael Kolb5a72f182011-01-13 20:35:06 -0800128 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700129 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700130 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700131 android:id="@+id/progress"
132 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700133 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700134 android:background="@null"
135 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700136 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700137 android:visibility="gone" />
138</LinearLayout>