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.NavigationBarTablet 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 | |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 23 | <LinearLayout |
| 24 | android:id="@+id/navbuttons" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 25 | android:layout_width="wrap_content" |
John Reck | 5fc96f5 | 2011-07-18 10:00:46 -0700 | [diff] [blame] | 26 | android:layout_height="match_parent" |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 27 | android:orientation="horizontal"> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 28 | |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 29 | <ImageButton |
| 30 | android:id="@+id/back" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 31 | style="@style/NavButton" |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 32 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 33 | android:contentDescription="@string/accessibility_button_back" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 34 | android:src="@drawable/ic_action_history_backward" /> |
| 35 | |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 36 | <ImageButton |
| 37 | android:id="@+id/forward" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 38 | style="@style/NavButton" |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 39 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 40 | android:contentDescription="@string/accessibility_button_forward" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 41 | android:src="@drawable/ic_action_history_forward" /> |
| 42 | |
| 43 | <!-- Stop/Refresh button --> |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 44 | <ImageButton |
| 45 | android:id="@+id/stop" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 46 | style="@style/NavButton" |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 47 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 48 | android:contentDescription="@string/accessibility_button_stop" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 49 | android:gravity="center_vertical" /> |
Michael Kolb | de46376 | 2011-07-14 15:25:45 -0700 | [diff] [blame] | 50 | </LinearLayout> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 51 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 52 | <LinearLayout |
| 53 | android:id="@+id/urlbar_focused" |
| 54 | android:layout_width="0dip" |
| 55 | android:layout_height="match_parent" |
| 56 | android:layout_weight="1.0" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 57 | android:orientation="horizontal"> |
| 58 | |
Axesh R. Ajmera | 2e24124 | 2014-05-19 15:53:38 -0700 | [diff] [blame] | 59 | <com.android.browser.LocationButton |
| 60 | android:id="@+id/location_button" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 61 | style="@style/NavButton" |
| 62 | android:layout_width="48dp" |
| 63 | android:visibility="gone" /> |
| 64 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 65 | <ImageView |
| 66 | android:id="@+id/url_icon" |
Michael Kolb | bae0cb2 | 2012-05-29 11:15:27 -0700 | [diff] [blame] | 67 | android:layout_width="32dip" |
Michael Kolb | f8fe4b5 | 2011-11-14 11:03:00 -0800 | [diff] [blame] | 68 | android:layout_height="20dip" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 69 | android:layout_gravity="center" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 70 | android:src="@drawable/ic_deco_favicon_normal" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 71 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 72 | <ImageView |
| 73 | android:id="@+id/lock" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 74 | style="@style/HoloIcon" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 75 | android:layout_width="wrap_content" |
Michael Kolb | bae0cb2 | 2012-05-29 11:15:27 -0700 | [diff] [blame] | 76 | android:layout_height="wrap_content" |
| 77 | android:layout_gravity="center_vertical" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame^] | 78 | android:layout_marginStart="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 79 | android:visibility="gone" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 80 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 81 | <com.android.browser.UrlInputView |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 82 | android:id="@+id/url" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 83 | style="@style/Suggestions" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 84 | android:layout_width="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 85 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 86 | android:layout_weight="1.0" |
| 87 | android:background="@null" |
| 88 | android:ellipsize="end" |
| 89 | android:hint="@string/search_hint" |
| 90 | android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" |
| 91 | android:inputType="textUri" |
| 92 | android:lines="1" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame^] | 93 | android:paddingStart="4dip" |
| 94 | android:paddingEnd="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 95 | android:scrollHorizontally="true" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 96 | android:singleLine="true" |
| 97 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 98 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 99 | <ImageButton |
| 100 | android:id="@+id/star" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 101 | style="@style/NavButton" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 102 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 103 | android:contentDescription="@string/accessibility_button_addbookmark" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 104 | android:src="@drawable/ic_action_bookmark" /> |
| 105 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 106 | <ImageButton |
| 107 | android:id="@+id/clear" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 108 | style="@style/NavButton" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 109 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 110 | android:contentDescription="@string/accessibility_button_clear" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 111 | android:src="@drawable/ic_action_stop" /> |
| 112 | |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 113 | <ImageButton |
| 114 | android:id="@+id/voice" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 115 | style="@style/NavButton" |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 116 | android:layout_width="wrap_content" |
Michael Kolb | 0b12912 | 2012-06-04 16:31:58 -0700 | [diff] [blame] | 117 | android:contentDescription="@string/accessibility_button_voice" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 118 | android:src="@drawable/ic_action_microphone_normal" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 119 | </LinearLayout> |
| 120 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 121 | <ImageButton |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 122 | android:id="@+id/search" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 123 | style="@style/NavButton" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 124 | android:layout_width="wrap_content" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 125 | android:contentDescription="@string/accessibility_button_search" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 126 | android:gravity="center_vertical" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 127 | android:src="@drawable/ic_action_search_normal" /> |
| 128 | |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 129 | <ImageButton |
| 130 | android:id="@+id/all_btn" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 131 | style="@style/NavButton" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 132 | android:layout_width="wrap_content" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 133 | android:contentDescription="@string/accessibility_button_bookmarks" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 134 | android:scaleType="center" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 135 | android:src="@drawable/ic_deco_bookmarks_normal" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 136 | |
| 137 | <ImageButton |
| 138 | android:id="@+id/more_browser_settings" |
| 139 | style="@style/OverflowButton" /> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 140 | </com.android.browser.NavigationBarTablet> |