blob: 4d8efdddd6e20cef2e7dc4e7bdf84d5483ed145c [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"
Michael Kolba2b2ba82010-08-04 17:54:03 -070015 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
17 android:orientation="vertical">
18 <LinearLayout
19 android:id="@+id/taburlbar"
20 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070021 android:layout_height="48dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070022 android:orientation="horizontal"
Michael Kolb2b5a13a2010-12-09 14:13:42 -080023 android:background="@drawable/bg_urlbar">
Michael Kolba2b2ba82010-08-04 17:54:03 -070024 <ImageButton
25 android:id="@+id/back"
Michael Kolb5a72f182011-01-13 20:35:06 -080026 android:src="@drawable/ic_back_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070027 android:layout_width="wrap_content"
28 android:layout_height="match_parent"
John Reck3f24ba22011-01-20 12:55:17 -080029 android:paddingLeft="16dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080030 style="@style/HoloButton" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070031 <ImageButton
32 android:id="@+id/forward"
Michael Kolb5a72f182011-01-13 20:35:06 -080033 android:src="@drawable/ic_forward_holo_dark"
Michael Kolba2b2ba82010-08-04 17:54:03 -070034 android:layout_width="wrap_content"
35 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080036 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080037 <ImageButton
Michael Kolbc7485ae2010-09-03 10:10:58 -070038 android:id="@+id/stop"
Michael Kolbc7485ae2010-09-03 10:10:58 -070039 android:layout_width="wrap_content"
40 android:layout_height="match_parent"
41 style="@style/HoloButton"
42 android:gravity="center_vertical"
Michael Kolb5a72f182011-01-13 20:35:06 -080043 android:src="@drawable/ic_stop_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070044 <LinearLayout
Michael Kolb31d469b2010-12-09 20:49:54 -080045 android:id="@+id/urlbar_focused"
Michael Kolba2b2ba82010-08-04 17:54:03 -070046 android:layout_width="0dip"
47 android:layout_height="match_parent"
48 android:layout_weight="1.0"
John Reck3f24ba22011-01-20 12:55:17 -080049 android:layout_marginLeft="8dip"
50 android:layout_marginRight="8dip"
Michael Kolb31d469b2010-12-09 20:49:54 -080051 android:orientation="horizontal"
Michael Kolba4183062011-01-16 10:43:21 -080052 android:background="@drawable/url_background">
Michael Kolbcfa3af52010-12-14 10:36:11 -080053 <ImageView
Michael Kolb5b2299c2011-01-25 16:54:34 -080054 android:id="@+id/web_icon"
55 android:layout_width="wrap_content"
56 android:layout_height="match_parent"
57 android:src="@drawable/ic_web_holo_dark"
58 style="@style/HoloIcon" />
59 <ImageView
Michael Kolbcfa3af52010-12-14 10:36:11 -080060 android:id="@+id/voice_icon"
61 android:layout_width="wrap_content"
62 android:layout_height="match_parent"
Michael Kolb3a2a1642011-02-15 10:52:07 -080063 android:src="@drawable/ic_voice_search_holo_dark"
Michael Kolbcfa3af52010-12-14 10:36:11 -080064 style="@style/HoloIcon"
65 android:visibility="gone" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070066 <ImageView
67 android:id="@+id/lock"
68 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -070069 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070070 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -070071 android:visibility="gone" />
Michael Kolb513286f2010-09-09 12:55:12 -070072 <com.android.browser.UrlInputView
73 android:id="@+id/url_focused"
74 android:layout_width="0dip"
75 android:layout_weight="1.0"
76 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080077 android:layout_marginLeft="16dip"
78 android:paddingLeft="0dip"
79 android:paddingRight="0dip"
Michael Kolb513286f2010-09-09 12:55:12 -070080 android:background="@null"
81 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -070082 android:hint="@string/search_hint"
Michael Kolb513286f2010-09-09 12:55:12 -070083 android:singleLine="true"
84 android:ellipsize="end"
85 android:lines="1"
86 android:scrollHorizontally="true"
87 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -080088 android:imeOptions="actionGo"
89 style="@style/Suggestions" />
Michael Kolba4183062011-01-16 10:43:21 -080090 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -080091 android:id="@+id/star"
John Reck0ce8a942011-01-14 19:57:09 -080092 android:src="@drawable/btn_imageview_star"
Michael Kolb31d469b2010-12-09 20:49:54 -080093 android:layout_width="wrap_content"
94 android:layout_height="match_parent"
95 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -080096 <ImageButton
Michael Kolbb7b115e2010-09-25 16:59:37 -070097 android:id="@+id/clear"
Michael Kolb5a72f182011-01-13 20:35:06 -080098 android:src="@drawable/ic_stop_holo_dark"
Michael Kolb513286f2010-09-09 12:55:12 -070099 android:layout_width="wrap_content"
100 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700101 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -0700102 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -0700103 <ImageButton
104 android:id="@+id/go"
Michael Kolb5a72f182011-01-13 20:35:06 -0800105 android:src="@drawable/ic_go_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700106 android:layout_width="wrap_content"
107 android:layout_height="match_parent"
108 android:visibility="gone"
109 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800110 style="@style/HoloButton" />
Michael Kolba4183062011-01-16 10:43:21 -0800111 <ImageButton
Michael Kolb31d469b2010-12-09 20:49:54 -0800112 android:id="@+id/voicesearch"
Michael Kolb5a72f182011-01-13 20:35:06 -0800113 android:src="@drawable/ic_voice_search_holo_dark"
Michael Kolb31d469b2010-12-09 20:49:54 -0800114 android:layout_width="wrap_content"
115 android:layout_height="match_parent"
116 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700117 <ImageButton
118 android:id="@+id/search"
Michael Kolb5a72f182011-01-13 20:35:06 -0800119 android:src="@drawable/ic_search_holo_dark"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700120 android:layout_width="wrap_content"
121 android:layout_height="match_parent"
122 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800123 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700124 <ImageButton
125 android:id="@+id/all_btn"
126 android:layout_width="wrap_content"
127 android:layout_height="match_parent"
128 android:scaleType="center"
John Reck3f24ba22011-01-20 12:55:17 -0800129 android:paddingRight="16dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700130 style="@style/HoloButton"
Michael Kolb5a72f182011-01-13 20:35:06 -0800131 android:src="@drawable/ic_bookmarks_history_holo_dark" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700132 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700133 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700134 android:id="@+id/progress"
135 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700136 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700137 android:background="@null"
138 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700139 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700140 android:visibility="gone" />
141</LinearLayout>