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