blob: aa5032d2e58601916c6c6108c2fa5276217659fe [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-->
Enrico Ros1f5a0952014-11-18 20:15:48 -080017<com.android.browser.NavigationBarPhone xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:background="@color/NavigationBarBackground"
21 android:orientation="horizontal">
22
John Reck0f602f32011-07-07 15:38:43 -070023 <LinearLayout
John Reck0f602f32011-07-07 15:38:43 -070024 android:layout_width="0dip"
John Reck0f602f32011-07-07 15:38:43 -070025 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080026 android:layout_weight="1.0"
John Reck0f602f32011-07-07 15:38:43 -070027 android:gravity="center_vertical"
28 android:orientation="horizontal">
Enrico Ros1f5a0952014-11-18 20:15:48 -080029
Michael Kolb94ec5272011-08-31 16:23:57 -070030 <ImageView
John Reck419f6b42011-08-16 16:10:51 -070031 android:id="@+id/incognito_icon"
Enrico Rosd6efa972014-12-02 19:49:59 -080032 android:layout_width="wrap_content"
Enrico Ros1f5a0952014-11-18 20:15:48 -080033 android:layout_height="match_parent"
Enrico Rosd6efa972014-12-02 19:49:59 -080034 android:layout_gravity="center"
Vivek Sekhared791da2015-02-22 12:39:05 -080035 android:layout_marginStart="8dp"
Enrico Rosd6efa972014-12-02 19:49:59 -080036 android:src="@drawable/ic_deco_incognito_normal"
Enrico Ros1f5a0952014-11-18 20:15:48 -080037 android:visibility="gone" />
38
Enrico Ros1f5a0952014-11-18 20:15:48 -080039 <ImageView
40 android:id="@+id/magnify"
41 android:layout_width="44dp"
42 android:layout_height="match_parent"
43 android:src="@drawable/ic_action_search_normal"
Vivek Sekhared791da2015-02-22 12:39:05 -080044 android:paddingStart="6dp"
45 android:paddingEnd="6dp"
Enrico Ros1f5a0952014-11-18 20:15:48 -080046 android:visibility="visible" />
47
Pankaj Garg66f8cef2015-07-07 17:29:03 -070048 <com.android.browser.SiteTileView
49 android:id="@+id/favicon_view"
50 android:layout_width="44dp"
51 android:layout_height="44dp"
52 android:paddingStart="6dp"
53 android:paddingEnd="6dp"
54 android:contentDescription="@string/page_info"/>
Enrico Ros1f5a0952014-11-18 20:15:48 -080055
John Reck0f602f32011-07-07 15:38:43 -070056 <ImageView
57 android:id="@+id/stop"
Enrico Ros1f5a0952014-11-18 20:15:48 -080058 style="@style/NavButton"
John Reck0f602f32011-07-07 15:38:43 -070059 android:layout_width="wrap_content"
John Reck0f602f32011-07-07 15:38:43 -070060 android:layout_gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070061 android:contentDescription="@string/accessibility_button_stop"
Vivek Sekhared791da2015-02-22 12:39:05 -080062 android:paddingStart="6dp"
63 android:paddingEnd="6dp"
Enrico Ros1f5a0952014-11-18 20:15:48 -080064 android:src="@drawable/ic_action_stop" />
65
Bijan Amirzada41242f22014-03-21 12:12:18 -070066 <com.android.browser.UrlInputView
John Reck0f602f32011-07-07 15:38:43 -070067 android:id="@+id/url"
Enrico Ros1f5a0952014-11-18 20:15:48 -080068 style="@style/Suggestions"
John Reck0f602f32011-07-07 15:38:43 -070069 android:layout_width="0dip"
John Reck0f602f32011-07-07 15:38:43 -070070 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080071 android:layout_weight="1.0"
72 android:background="@null"
73 android:ellipsize="end"
John Reck0f602f32011-07-07 15:38:43 -070074 android:fadingEdge="horizontal"
75 android:fadingEdgeLength="24dip"
Enrico Ros1f5a0952014-11-18 20:15:48 -080076 android:focusable="true"
John Reck0f602f32011-07-07 15:38:43 -070077 android:hint="@string/search_hint"
Michael Kolb0d7c69e2011-08-19 09:26:53 -070078 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
Enrico Ros1f5a0952014-11-18 20:15:48 -080079 android:inputType="textUri"
80 android:lines="1"
Vivek Sekhared791da2015-02-22 12:39:05 -080081 android:paddingStart="4dp"
82 android:paddingEnd="6dp"
Enrico Ros1f5a0952014-11-18 20:15:48 -080083 android:scrollHorizontally="true"
84 android:singleLine="true"
Enrico Rosd6efa972014-12-02 19:49:59 -080085 android:fontFamily="sans-serif-condensed"
Enrico Ros1f5a0952014-11-18 20:15:48 -080086 android:textAppearance="?android:attr/textAppearanceMedium" />
87
John Reck0f602f32011-07-07 15:38:43 -070088 <ImageView
Michael Kolb0b129122012-06-04 16:31:58 -070089 android:id="@+id/voice"
Enrico Ros1f5a0952014-11-18 20:15:48 -080090 style="@style/NavButton"
Michael Kolb0b129122012-06-04 16:31:58 -070091 android:layout_width="wrap_content"
Michael Kolb0b129122012-06-04 16:31:58 -070092 android:contentDescription="@string/accessibility_button_voice"
Vivek Sekhared791da2015-02-22 12:39:05 -080093 android:paddingEnd="4dip"
Enrico Rosd6efa972014-12-02 19:49:59 -080094 android:src="@drawable/ic_action_microphone_normal"
Enrico Ros1f5a0952014-11-18 20:15:48 -080095 android:visibility="gone" />
96
97 <ImageButton
98 android:id="@+id/clear"
99 style="@style/NavButton"
100 android:layout_width="wrap_content"
Michael Kolb94ec5272011-08-31 16:23:57 -0700101 android:contentDescription="@string/accessibility_button_clear"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800102 android:src="@drawable/ic_action_stop"
Michael Kolb94ec5272011-08-31 16:23:57 -0700103 android:visibility="gone" />
John Reck0f602f32011-07-07 15:38:43 -0700104 </LinearLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -0800105
106 <FrameLayout
John Reck0f602f32011-07-07 15:38:43 -0700107 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800108 android:layout_width="wrap_content">
109
110 <ImageButton
111 android:id="@+id/tab_switcher"
112 style="@style/NavButton"
113 android:layout_width="wrap_content"
Michael Kolb30adae62011-07-29 13:37:05 -0700114 android:contentDescription="@string/accessibility_button_navscreen"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800115 android:src="@drawable/ic_action_tabswitcher" />
116
117 <TextView
118 android:id="@+id/tab_switcher_text"
119 android:layout_width="wrap_content"
120 android:layout_height="wrap_content"
121 android:layout_gravity="center"
Enrico Rosd6efa972014-12-02 19:49:59 -0800122 android:clickable="false"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800123 android:paddingBottom="3dp"
Vivek Sekhared791da2015-02-22 12:39:05 -0800124 android:paddingEnd="2dp"
Enrico Rosd6efa972014-12-02 19:49:59 -0800125 android:textColor="#333"
126 android:textSize="13dp"
127 android:textStyle="bold" />
Enrico Ros1f5a0952014-11-18 20:15:48 -0800128 </FrameLayout>
129
John Reck0f602f32011-07-07 15:38:43 -0700130 <ImageButton
Axesh R. Ajmera2e241242014-05-19 15:53:38 -0700131 android:id="@+id/more_browser_settings"
Enrico Ros1f5a0952014-11-18 20:15:48 -0800132 style="@style/OverflowButton" />
Bijan Amirzada41242f22014-03-21 12:12:18 -0700133</com.android.browser.NavigationBarPhone>