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" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 34 | android:src="@drawable/ic_action_history_backward_inverted" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 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" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 41 | android:src="@drawable/ic_action_history_forward_inverted" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 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 | |
Pankaj Garg | 66f8cef | 2015-07-07 17:29:03 -0700 | [diff] [blame] | 60 | <com.android.browser.SiteTileView |
| 61 | android:id="@+id/favicon_view" |
| 62 | android:layout_width="44dp" |
| 63 | android:layout_height="44dp" |
| 64 | android:layout_gravity="center_vertical" |
| 65 | android:paddingStart="6dp" |
| 66 | android:paddingEnd="6dp" |
| 67 | android:contentDescription="@string/page_info"/> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 68 | |
jrizzoli | dd494bf | 2015-10-11 22:04:40 +0200 | [diff] [blame] | 69 | <!-- Cosmetic separator --> |
| 70 | <View |
| 71 | android:id="@+id/separator" |
| 72 | android:layout_width="1dp" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 73 | android:layout_height="fill_parent" |
| 74 | android:paddingTop="8dp" |
jrizzoli | dd494bf | 2015-10-11 22:04:40 +0200 | [diff] [blame] | 75 | android:paddingBottom="6dp" |
| 76 | android:paddingStart="4dp" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 77 | android:paddingEnd="8dp" |
jrizzoli | dd494bf | 2015-10-11 22:04:40 +0200 | [diff] [blame] | 78 | android:background="@color/icon_white" /> |
| 79 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 80 | <com.android.browser.UrlInputView |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 81 | android:id="@+id/url" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 82 | style="@style/Suggestions" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 83 | android:layout_width="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 84 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 85 | android:layout_weight="1.0" |
| 86 | android:background="@null" |
| 87 | android:ellipsize="end" |
| 88 | android:hint="@string/search_hint" |
| 89 | android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" |
| 90 | android:inputType="textUri" |
| 91 | android:lines="1" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 92 | android:paddingStart="4dip" |
| 93 | android:paddingEnd="0dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 94 | android:scrollHorizontally="true" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 95 | android:singleLine="true" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 96 | android:textColorHint="@color/icon_white" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 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" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 104 | android:src="@drawable/ic_action_bookmark_inverted" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 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" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 111 | android:src="@drawable/ic_action_stop_inverted" /> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 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 |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 122 | android:id="@+id/more_browser_settings" |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 123 | style="@style/OverflowButtonInverted" /> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 124 | </com.android.browser.NavigationBarTablet> |