blob: 61b03eda78211c02c2349ea96dd4cf2fa42104cd [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 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 Kolbc7485ae2010-09-03 10:10:58 -070033 android:src="@drawable/ic_forward_normal"
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 Kolbc7485ae2010-09-03 10:10:58 -070037 <ImageView
38 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"
43 android:src="@drawable/ic_stop_normal" />
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"
Michael Kolb31d469b2010-12-09 20:49:54 -080049 android:layout_marginLeft="16dip"
50 android:orientation="horizontal"
51 android:background="@drawable/textfield_active_holo_dark">
Michael Kolba2b2ba82010-08-04 17:54:03 -070052 <ImageView
53 android:id="@+id/lock"
54 android:layout_width="wrap_content"
Michael Kolb0506f2d2010-10-14 16:20:16 -070055 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070056 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -070057 android:visibility="gone" />
Michael Kolb513286f2010-09-09 12:55:12 -070058 <com.android.browser.UrlInputView
59 android:id="@+id/url_focused"
60 android:layout_width="0dip"
61 android:layout_weight="1.0"
62 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -080063 android:layout_marginTop="12dip"
64 android:layout_marginLeft="16dip"
65 android:paddingLeft="0dip"
66 android:paddingRight="0dip"
Michael Kolb513286f2010-09-09 12:55:12 -070067 android:background="@null"
68 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolb513286f2010-09-09 12:55:12 -070069 android:hint="@string/search_hint"
Michael Kolb513286f2010-09-09 12:55:12 -070070 android:singleLine="true"
71 android:ellipsize="end"
72 android:lines="1"
73 android:scrollHorizontally="true"
74 android:inputType="textUri"
John Reck01820432010-11-29 10:32:24 -080075 android:imeOptions="actionGo"
76 style="@style/Suggestions" />
Michael Kolbb7b115e2010-09-25 16:59:37 -070077 <ImageView
Michael Kolb31d469b2010-12-09 20:49:54 -080078 android:id="@+id/star"
79 android:src="@drawable/btn_star"
80 android:layout_width="wrap_content"
81 android:layout_height="match_parent"
82 style="@style/HoloButton" />
83 <ImageView
Michael Kolbb7b115e2010-09-25 16:59:37 -070084 android:id="@+id/clear"
Michael Kolb31d469b2010-12-09 20:49:54 -080085 android:src="@drawable/ic_clear_search_light"
Michael Kolb513286f2010-09-09 12:55:12 -070086 android:layout_width="wrap_content"
87 android:layout_height="match_parent"
Michael Kolbb7b115e2010-09-25 16:59:37 -070088 style="@style/HoloButton" />
Michael Kolb513286f2010-09-09 12:55:12 -070089 </LinearLayout>
Michael Kolbb7b115e2010-09-25 16:59:37 -070090 <ImageButton
91 android:id="@+id/go"
92 android:src="@drawable/ic_go_normal_white"
93 android:layout_width="wrap_content"
94 android:layout_height="match_parent"
95 android:visibility="gone"
96 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -080097 style="@style/HoloButton" />
98 <ImageView
99 android:id="@+id/voicesearch"
100 android:src="@drawable/ic_voice_search"
101 android:layout_width="wrap_content"
102 android:layout_height="match_parent"
103 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700104 <ImageButton
105 android:id="@+id/search"
106 android:src="@drawable/ic_search_normal"
107 android:layout_width="wrap_content"
108 android:layout_height="match_parent"
109 android:gravity="center_vertical"
Michael Kolb31d469b2010-12-09 20:49:54 -0800110 style="@style/HoloButton" />
Michael Kolbb7b115e2010-09-25 16:59:37 -0700111 <ImageButton
112 android:id="@+id/all_btn"
113 android:layout_width="wrap_content"
114 android:layout_height="match_parent"
Michael Kolb31d469b2010-12-09 20:49:54 -0800115 android:layout_marginRight="4dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700116 android:scaleType="center"
117 style="@style/HoloButton"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700118 android:src="@drawable/ic_bookmarks_history_normal" />
Michael Kolba2b2ba82010-08-04 17:54:03 -0700119 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700120 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700121 android:id="@+id/progress"
122 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700123 android:layout_height="22dip"
Michael Kolbb7b115e2010-09-25 16:59:37 -0700124 android:background="@null"
125 android:src="@drawable/progress"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700126 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700127 android:visibility="gone" />
128</LinearLayout>