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