blob: 29a646263e156a5bddcce110bc2d93c8649853d7 [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 Kolbc7485ae2010-09-03 10:10:58 -070024 android:background="@drawable/urlbar_bg"
25 >
Michael Kolba2b2ba82010-08-04 17:54:03 -070026 <ImageButton
27 android:id="@+id/back"
Michael Kolbc7485ae2010-09-03 10:10:58 -070028 android:src="@drawable/ic_back_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070029 android:layout_width="wrap_content"
30 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070031 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070032 android:background="@drawable/browserbarbutton" />
33 <ImageButton
34 android:id="@+id/forward"
Michael Kolbc7485ae2010-09-03 10:10:58 -070035 android:src="@drawable/ic_forward_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070036 android:layout_width="wrap_content"
37 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070038 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070039 android:background="@drawable/browserbarbutton" />
Michael Kolbc7485ae2010-09-03 10:10:58 -070040 <ImageView
41 android:id="@+id/stop"
42 android:background="@drawable/browserbarbutton"
43 android:layout_width="wrap_content"
44 android:layout_height="match_parent"
45 style="@style/HoloButton"
46 android:gravity="center_vertical"
47 android:src="@drawable/ic_stop_normal" />
48 <ImageButton
49 android:id="@+id/all_btn"
50 android:layout_width="wrap_content"
51 android:layout_height="match_parent"
52 android:scaleType="center"
53 style="@style/HoloButton"
54 android:background="@drawable/browserbarbutton"
55 android:src="@drawable/ic_bookmarks_history_normal" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070056 <LinearLayout
57 android:id="@+id/urlbar"
58 android:layout_width="0dip"
59 android:layout_height="match_parent"
60 android:layout_weight="1.0"
Michael Kolbc7485ae2010-09-03 10:10:58 -070061 android:orientation="horizontal" >
Michael Kolba2b2ba82010-08-04 17:54:03 -070062 <ImageButton
63 android:id="@+id/star"
Michael Kolbc7485ae2010-09-03 10:10:58 -070064 android:src="@drawable/ic_favorite_on_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070065 android:layout_width="wrap_content"
66 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070067 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070068 android:background="@drawable/browserbarbutton" />
69 <ImageView
70 android:id="@+id/lock"
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
Michael Kolbc7485ae2010-09-03 10:10:58 -070073 style="@style/HoloIcon"
Michael Kolba2b2ba82010-08-04 17:54:03 -070074 android:visibility="gone" />
75 <com.android.browser.UrlInputView
76 android:id="@+id/editurl"
77 android:layout_width="0dip"
78 android:layout_weight="1.0"
79 android:layout_height="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070080 android:background="@null"
81 android:paddingLeft="16dip"
82 android:paddingRight="16dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070083 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolba2b2ba82010-08-04 17:54:03 -070084 android:hint="@string/search_hint"
85 android:gravity="center_vertical"
86 android:singleLine="true"
87 android:ellipsize="end"
88 android:lines="1"
89 android:scrollHorizontally="true"
Michael Kolba2b2ba82010-08-04 17:54:03 -070090 android:inputType="textUri"
91 android:imeOptions="actionGo" />
Michael Kolba2b2ba82010-08-04 17:54:03 -070092 <ImageButton
93 android:id="@+id/search"
Michael Kolbc7485ae2010-09-03 10:10:58 -070094 android:src="@drawable/ic_search_normal"
Michael Kolba2b2ba82010-08-04 17:54:03 -070095 android:layout_width="wrap_content"
96 android:layout_height="match_parent"
97 android:gravity="center_vertical"
Michael Kolbc7485ae2010-09-03 10:10:58 -070098 style="@style/HoloButton"
Michael Kolba2b2ba82010-08-04 17:54:03 -070099 android:background="@drawable/browserbarbutton" />
100 </LinearLayout>
Michael Kolba2b2ba82010-08-04 17:54:03 -0700101 </LinearLayout>
Michael Kolbc7485ae2010-09-03 10:10:58 -0700102 <com.android.browser.PageProgressView
Michael Kolba2b2ba82010-08-04 17:54:03 -0700103 android:id="@+id/progress"
104 android:layout_width="match_parent"
Michael Kolbc7485ae2010-09-03 10:10:58 -0700105 android:layout_height="22dip"
106 android:background = "@null"
107 android:src = "@drawable/progress"
108 android:layout_marginTop="-11dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -0700109 android:visibility="gone" />
110</LinearLayout>