blob: 3ee99fd03cdb8c999481d3c0717aadb0a1414b89 [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-->
Bijan Amirzada41242f22014-03-21 12:12:18 -070017<com.android.browser.NavigationBarPhone
John Reck0f602f32011-07-07 15:38:43 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
21 <LinearLayout
22 android:id="@+id/title_bg"
23 android:layout_width="0dip"
24 android:layout_weight="1.0"
25 android:layout_height="match_parent"
26 android:gravity="center_vertical"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070027 android:layout_marginLeft="8dip"
28 android:layout_marginRight="8dip"
John Reck0f602f32011-07-07 15:38:43 -070029 android:orientation="horizontal">
John Reck419f6b42011-08-16 16:10:51 -070030 <ImageView
Michael Kolb94ec5272011-08-31 16:23:57 -070031 android:id="@+id/magnify"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070034 android:paddingLeft="4dip"
Michael Kolb94ec5272011-08-31 16:23:57 -070035 android:paddingRight="8dip"
36 android:visibility="gone"
37 android:src="@drawable/ic_search_category_suggest" />
38 <ImageView
John Reck419f6b42011-08-16 16:10:51 -070039 android:id="@+id/incognito_icon"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070042 android:paddingLeft="4dip"
John Reck419f6b42011-08-16 16:10:51 -070043 android:visibility="gone"
44 android:src="@drawable/ic_incognito_holo_dark" />
Axesh R. Ajmera2e241242014-05-19 15:53:38 -070045 <com.android.browser.LocationButton
46 android:id="@+id/location_button"
47 android:layout_width="32dip"
48 android:layout_height="32dip"
49 android:visibility="gone"
50 style="@style/HoloButton"/>
John Reck0f602f32011-07-07 15:38:43 -070051 <FrameLayout
52 android:id="@+id/iconcombo"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070053 android:layout_width="44dip"
John Reck0f602f32011-07-07 15:38:43 -070054 android:layout_height="match_parent"
John Reckefb15ea2012-09-21 15:20:58 -070055 android:contentDescription="@string/page_info"
John Reck0f602f32011-07-07 15:38:43 -070056 style="@style/HoloButton">
57 <ImageView
58 android:id="@+id/favicon"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070059 android:layout_width="32dip"
60 android:layout_height="32dip"
61 android:paddingLeft="4dip"
62 android:paddingRight="8dip"
Michael Kolb6ced8442011-08-22 13:04:30 -070063 android:layout_gravity="center" />
John Reck0f602f32011-07-07 15:38:43 -070064 <ImageView
65 android:id="@+id/lock"
Michael Kolb6ced8442011-08-22 13:04:30 -070066 android:layout_width="32dip"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070067 android:layout_height="32dip"
Michael Kolb6ced8442011-08-22 13:04:30 -070068 android:layout_gravity="center"
John Reck0f602f32011-07-07 15:38:43 -070069 android:visibility="gone" />
70 </FrameLayout>
71 <ImageView
72 android:id="@+id/stop"
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:layout_gravity="center_vertical"
Peter Ngdf4cc0c2011-09-22 13:13:08 -070076 android:paddingLeft="4dip"
Michael Kolb30adae62011-07-29 13:37:05 -070077 android:contentDescription="@string/accessibility_button_stop"
John Reck0f602f32011-07-07 15:38:43 -070078 android:src="@drawable/ic_stop_holo_dark"
79 style="@style/HoloButton" />
Bijan Amirzada41242f22014-03-21 12:12:18 -070080 <com.android.browser.UrlInputView
John Reck0f602f32011-07-07 15:38:43 -070081 android:id="@+id/url"
82 android:focusable="true"
83 android:layout_width="0dip"
84 android:layout_weight="1.0"
85 android:layout_height="match_parent"
86 android:fadingEdge="horizontal"
87 android:fadingEdgeLength="24dip"
88 android:textAppearance="?android:attr/textAppearanceMedium"
89 android:hint="@string/search_hint"
90 android:singleLine="true"
91 android:ellipsize="end"
92 android:lines="1"
93 android:scrollHorizontally="true"
John Reckcba1fd12011-08-29 10:36:13 -070094 android:inputType="textUri"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070095 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
John Reck0f602f32011-07-07 15:38:43 -070096 style="@style/Suggestions"
97 android:background="@null" />
98 <ImageView
Michael Kolb0b129122012-06-04 16:31:58 -070099 android:id="@+id/voice"
100 android:layout_width="wrap_content"
101 android:layout_height="match_parent"
102 android:paddingRight="4dip"
103 android:contentDescription="@string/accessibility_button_voice"
104 android:src="@drawable/ic_voice_search_holo_dark"
105 style="@style/HoloButton"
106 android:visibility="gone" />
107 <ImageView
Michael Kolb94ec5272011-08-31 16:23:57 -0700108 android:id="@+id/clear"
109 android:layout_width="wrap_content"
110 android:layout_height="match_parent"
Peter Ngdf4cc0c2011-09-22 13:13:08 -0700111 android:paddingRight="4dip"
Michael Kolb94ec5272011-08-31 16:23:57 -0700112 android:contentDescription="@string/accessibility_button_clear"
113 android:src="@drawable/ic_close_window_holo_dark"
114 style="@style/HoloButton"
115 android:visibility="gone" />
John Reck0f602f32011-07-07 15:38:43 -0700116 </LinearLayout>
117 <ImageButton
118 android:id="@+id/tab_switcher"
119 android:layout_width="wrap_content"
120 android:layout_height="match_parent"
Michael Kolb30adae62011-07-29 13:37:05 -0700121 android:contentDescription="@string/accessibility_button_navscreen"
John Reck0f602f32011-07-07 15:38:43 -0700122 android:src="@drawable/ic_windows_holo_dark"
123 style="@style/HoloButton" />
124 <ImageButton
Axesh R. Ajmera2e241242014-05-19 15:53:38 -0700125 android:id="@+id/more_browser_settings"
John Reck0f602f32011-07-07 15:38:43 -0700126 android:layout_width="wrap_content"
127 android:layout_height="match_parent"
128 style="@style/HoloButton"
129 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -0700130 android:contentDescription="@string/accessibility_button_more"
Michael Kolbe5d7a662011-08-02 15:30:39 -0700131 android:src="@drawable/ic_menu_overflow" />
Bijan Amirzada41242f22014-03-21 12:12:18 -0700132</com.android.browser.NavigationBarPhone>