blob: 300b740f17d549ef32598456f65f830c11a74560 [file] [log] [blame]
John Reck0f602f32011-07-07 15:38:43 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2011, The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<com.android.browser.NavigationBarTablet
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
Michael Kolbde463762011-07-14 15:25:45 -070021 <LinearLayout
22 android:id="@+id/navbuttons"
John Reck0f602f32011-07-07 15:38:43 -070023 android:layout_width="wrap_content"
John Reck5fc96f52011-07-18 10:00:46 -070024 android:layout_height="match_parent"
Michael Kolbde463762011-07-14 15:25:45 -070025 android:orientation="horizontal">
26 <ImageButton
27 android:id="@+id/back"
28 android:src="@drawable/ic_back_holo_dark"
29 android:layout_width="wrap_content"
30 android:layout_height="match_parent"
31 android:paddingLeft="16dip"
Michael Kolb30adae62011-07-29 13:37:05 -070032 android:contentDescription="@string/accessibility_button_back"
Michael Kolbde463762011-07-14 15:25:45 -070033 style="@style/HoloButton" />
34 <ImageButton
35 android:id="@+id/forward"
36 android:src="@drawable/ic_forward_holo_dark"
37 android:layout_width="wrap_content"
38 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070039 android:contentDescription="@string/accessibility_button_forward"
Michael Kolbde463762011-07-14 15:25:45 -070040 style="@style/HoloButton" />
41 <ImageButton
42 android:id="@+id/stop"
43 android:layout_width="wrap_content"
44 android:layout_height="match_parent"
45 style="@style/HoloButton"
46 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070047 android:contentDescription="@string/accessibility_button_stop"
Michael Kolbde463762011-07-14 15:25:45 -070048 android:src="@drawable/ic_stop_holo_dark" />
49 </LinearLayout>
John Reck0f602f32011-07-07 15:38:43 -070050 <LinearLayout
51 android:id="@+id/urlbar_focused"
52 android:layout_width="0dip"
53 android:layout_height="match_parent"
54 android:layout_weight="1.0"
55 android:layout_marginLeft="8dip"
56 android:layout_marginRight="8dip"
57 android:orientation="horizontal"
58 android:background="@drawable/url_background">
59 <ImageView
60 android:id="@+id/url_icon"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080061 android:layout_width="48dip"
62 android:layout_height="20dip"
63 android:paddingLeft="14dip"
64 android:paddingRight="14dip"
John Reck0f602f32011-07-07 15:38:43 -070065 android:src="@drawable/ic_web_holo_dark"
Michael Kolbf8fe4b52011-11-14 11:03:00 -080066 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070067 <ImageView
68 android:id="@+id/lock"
69 android:layout_width="wrap_content"
70 android:layout_height="match_parent"
71 style="@style/HoloIcon"
72 android:visibility="gone" />
73 <com.android.browser.UrlInputView
74 android:id="@+id/url"
75 android:layout_width="0dip"
76 android:layout_weight="1.0"
77 android:layout_height="match_parent"
John Reck0f602f32011-07-07 15:38:43 -070078 android:paddingLeft="0dip"
79 android:paddingRight="0dip"
80 android:background="@null"
81 android:textAppearance="?android:attr/textAppearanceMedium"
82 android:hint="@string/search_hint"
83 android:singleLine="true"
84 android:ellipsize="end"
85 android:lines="1"
86 android:scrollHorizontally="true"
87 android:inputType="textUri"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070088 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
John Reck0f602f32011-07-07 15:38:43 -070089 style="@style/Suggestions" />
90 <ImageButton
91 android:id="@+id/star"
92 android:src="@drawable/btn_imageview_star"
93 android:layout_width="wrap_content"
94 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -070095 android:contentDescription="@string/accessibility_button_addbookmark"
John Reck0f602f32011-07-07 15:38:43 -070096 style="@style/HoloButton" />
97 <ImageButton
98 android:id="@+id/clear"
99 android:src="@drawable/ic_stop_holo_dark"
100 android:layout_width="wrap_content"
101 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -0700102 android:contentDescription="@string/accessibility_button_clear"
John Reck0f602f32011-07-07 15:38:43 -0700103 style="@style/HoloButton" />
104 </LinearLayout>
105 <ImageButton
John Reck0f602f32011-07-07 15:38:43 -0700106 android:id="@+id/search"
107 android:src="@drawable/ic_search_holo_dark"
108 android:layout_width="wrap_content"
109 android:layout_height="match_parent"
110 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -0700111 android:contentDescription="@string/accessibility_button_search"
John Reck0f602f32011-07-07 15:38:43 -0700112 style="@style/HoloButton" />
113 <ImageButton
114 android:id="@+id/all_btn"
115 android:layout_width="wrap_content"
116 android:layout_height="match_parent"
117 android:scaleType="center"
118 android:paddingRight="16dip"
119 style="@style/HoloButton"
Michael Kolb30adae62011-07-29 13:37:05 -0700120 android:contentDescription="@string/accessibility_button_bookmarks"
John Reck0f602f32011-07-07 15:38:43 -0700121 android:src="@drawable/ic_bookmarks_history_holo_dark" />
122</com.android.browser.NavigationBarTablet>