John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 1 | <?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 Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 17 | <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" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 20 | android:background="@color/primary" |
| 21 | android:orientation="horizontal" |
| 22 | android:elevation="8dp"> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 23 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 24 | <LinearLayout |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 25 | android:layout_width="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 26 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 27 | android:layout_weight="1.0" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 28 | android:gravity="center_vertical" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 29 | android:paddingStart="4dp" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 30 | android:orientation="horizontal"> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 31 | |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 32 | <ImageView |
John Reck | 419f6b4 | 2011-08-16 16:10:51 -0700 | [diff] [blame] | 33 | android:id="@+id/incognito_icon" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 34 | android:layout_width="wrap_content" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 35 | android:layout_height="match_parent" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 36 | android:layout_gravity="center" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 37 | android:layout_marginStart="8dp" |
jrizzoli | f63f311 | 2015-10-11 18:16:03 +0200 | [diff] [blame] | 38 | android:paddingEnd="6dp" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 39 | android:src="@drawable/ic_deco_incognito_normal" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 40 | android:visibility="gone" /> |
| 41 | |
Pankaj Garg | 66f8cef | 2015-07-07 17:29:03 -0700 | [diff] [blame] | 42 | <com.android.browser.SiteTileView |
| 43 | android:id="@+id/favicon_view" |
| 44 | android:layout_width="44dp" |
| 45 | android:layout_height="44dp" |
| 46 | android:paddingStart="6dp" |
| 47 | android:paddingEnd="6dp" |
| 48 | android:contentDescription="@string/page_info"/> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 49 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 50 | <!-- Cosmetic separator --> |
| 51 | <View |
jrizzoli | a62318b | 2015-09-08 21:44:50 +0200 | [diff] [blame] | 52 | android:id="@+id/separator" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 53 | android:layout_width="1dp" |
jrizzoli | a62318b | 2015-09-08 21:44:50 +0200 | [diff] [blame] | 54 | android:layout_height="36dp" |
| 55 | android:paddingTop="6dp" |
| 56 | android:paddingBottom="6dp" |
| 57 | android:paddingStart="4dp" |
| 58 | android:paddingEnd="4dp" |
| 59 | android:background="@color/icon_white" /> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 60 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 61 | <ImageView |
| 62 | android:id="@+id/stop" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 63 | style="@style/NavButton" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 64 | android:layout_width="wrap_content" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 65 | android:layout_gravity="center_vertical" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 66 | android:contentDescription="@string/accessibility_button_stop" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 67 | android:paddingStart="6dp" |
| 68 | android:paddingEnd="6dp" |
Sagar Dhawan | 84ef444 | 2015-07-29 12:08:10 -0700 | [diff] [blame] | 69 | android:visibility="gone" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 70 | android:src="@drawable/ic_action_stop_normal_inverted" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 71 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 72 | <com.android.browser.UrlInputView |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 73 | android:id="@+id/url" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 74 | style="@style/Suggestions" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 75 | android:layout_width="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 76 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 77 | android:layout_weight="1.0" |
| 78 | android:background="@null" |
| 79 | android:ellipsize="end" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 80 | android:fadingEdge="horizontal" |
| 81 | android:fadingEdgeLength="24dip" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 82 | android:focusable="true" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 83 | android:hint="@string/search_hint" |
Michael Kolb | 0d7c69e | 2011-08-19 09:26:53 -0700 | [diff] [blame] | 84 | android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 85 | android:theme="@style/Widget.UrlInputView" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 86 | android:inputType="textUri" |
| 87 | android:lines="1" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 88 | android:paddingStart="4dp" |
| 89 | android:paddingEnd="6dp" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 90 | android:scrollHorizontally="true" |
| 91 | android:singleLine="true" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 92 | android:fontFamily="sans-serif-condensed" |
jrizzoli | f63f311 | 2015-10-11 18:16:03 +0200 | [diff] [blame] | 93 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 94 | android:textColorHint="@color/icon_white" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 95 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 96 | <ImageView |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 97 | android:id="@+id/voice" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 98 | style="@style/NavButton" |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 99 | android:layout_width="wrap_content" |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 100 | android:contentDescription="@string/accessibility_button_voice" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 101 | android:src="@drawable/ic_action_microphone_normal" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 102 | android:visibility="gone" /> |
| 103 | |
| 104 | <ImageButton |
| 105 | android:id="@+id/clear" |
| 106 | style="@style/NavButton" |
| 107 | android:layout_width="wrap_content" |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 108 | android:contentDescription="@string/accessibility_button_clear" |
jrizzoli | a62318b | 2015-09-08 21:44:50 +0200 | [diff] [blame] | 109 | android:src="@drawable/ic_action_stop_normal_inverted" |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 110 | android:visibility="gone" /> |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 111 | </LinearLayout> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 112 | |
| 113 | <FrameLayout |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 114 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 115 | android:layout_width="wrap_content"> |
| 116 | |
| 117 | <ImageButton |
| 118 | android:id="@+id/tab_switcher" |
| 119 | style="@style/NavButton" |
| 120 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 121 | android:contentDescription="@string/accessibility_button_navscreen" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 122 | android:src="@drawable/ic_action_tabswitcher" /> |
| 123 | |
| 124 | <TextView |
| 125 | android:id="@+id/tab_switcher_text" |
| 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="wrap_content" |
| 128 | android:layout_gravity="center" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 129 | android:clickable="false" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 130 | android:paddingBottom="1dp" |
jrizzoli | a62318b | 2015-09-08 21:44:50 +0200 | [diff] [blame] | 131 | android:paddingStart="1dp" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 132 | android:paddingEnd="1dp" |
| 133 | android:textColor="@color/white" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 134 | android:textSize="13dp" |
| 135 | android:textStyle="bold" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 136 | </FrameLayout> |
| 137 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 138 | <ImageButton |
Axesh R. Ajmera | 2e24124 | 2014-05-19 15:53:38 -0700 | [diff] [blame] | 139 | android:id="@+id/more_browser_settings" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 140 | style="@style/OverflowButtonInverted" /> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 141 | </com.android.browser.NavigationBarPhone> |