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 | --> |
| 17 | <com.android.browser.NavigationBarPhone |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:orientation="horizontal" |
| 20 | android:background="@drawable/bg_urlbar"> |
| 21 | <LinearLayout |
| 22 | android:id="@+id/title_bg" |
| 23 | android:layout_width="0dip" |
| 24 | android:layout_weight="1.0" |
| 25 | android:layout_height="match_parent" |
| 26 | android:gravity="center_vertical" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 27 | android:layout_marginLeft="8dip" |
| 28 | android:layout_marginRight="8dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 29 | android:orientation="horizontal"> |
John Reck | 419f6b4 | 2011-08-16 16:10:51 -0700 | [diff] [blame] | 30 | <ImageView |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 31 | android:id="@+id/magnify" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="wrap_content" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 34 | android:paddingLeft="4dip" |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 35 | android:paddingRight="8dip" |
| 36 | android:visibility="gone" |
| 37 | android:src="@drawable/ic_search_category_suggest" /> |
| 38 | <ImageView |
John Reck | 419f6b4 | 2011-08-16 16:10:51 -0700 | [diff] [blame] | 39 | android:id="@+id/incognito_icon" |
| 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="wrap_content" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 42 | android:paddingLeft="4dip" |
John Reck | 419f6b4 | 2011-08-16 16:10:51 -0700 | [diff] [blame] | 43 | android:visibility="gone" |
| 44 | android:src="@drawable/ic_incognito_holo_dark" /> |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 45 | <FrameLayout |
| 46 | android:id="@+id/iconcombo" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 47 | android:layout_width="44dip" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 48 | android:layout_height="match_parent" |
| 49 | style="@style/HoloButton"> |
| 50 | <ImageView |
| 51 | android:id="@+id/favicon" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 52 | android:layout_width="32dip" |
| 53 | android:layout_height="32dip" |
| 54 | android:paddingLeft="4dip" |
| 55 | android:paddingRight="8dip" |
Michael Kolb | 6ced844 | 2011-08-22 13:04:30 -0700 | [diff] [blame] | 56 | android:layout_gravity="center" /> |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 57 | <ImageView |
| 58 | android:id="@+id/lock" |
Michael Kolb | 6ced844 | 2011-08-22 13:04:30 -0700 | [diff] [blame] | 59 | android:layout_width="32dip" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 60 | android:layout_height="32dip" |
Michael Kolb | 6ced844 | 2011-08-22 13:04:30 -0700 | [diff] [blame] | 61 | android:layout_gravity="center" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 62 | android:visibility="gone" /> |
| 63 | </FrameLayout> |
| 64 | <ImageView |
| 65 | android:id="@+id/stop" |
| 66 | android:layout_width="wrap_content" |
| 67 | android:layout_height="wrap_content" |
| 68 | android:layout_gravity="center_vertical" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 69 | android:paddingLeft="4dip" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 70 | android:contentDescription="@string/accessibility_button_stop" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 71 | android:src="@drawable/ic_stop_holo_dark" |
| 72 | style="@style/HoloButton" /> |
| 73 | <com.android.browser.UrlInputView |
| 74 | android:id="@+id/url" |
| 75 | android:focusable="true" |
| 76 | android:layout_width="0dip" |
| 77 | android:layout_weight="1.0" |
| 78 | android:layout_height="match_parent" |
| 79 | android:fadingEdge="horizontal" |
| 80 | android:fadingEdgeLength="24dip" |
| 81 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 82 | android:hint="@string/search_hint" |
| 83 | android:singleLine="true" |
| 84 | android:ellipsize="end" |
| 85 | android:lines="1" |
| 86 | android:scrollHorizontally="true" |
John Reck | cba1fd1 | 2011-08-29 10:36:13 -0700 | [diff] [blame] | 87 | android:inputType="textUri" |
Michael Kolb | 0d7c69e | 2011-08-19 09:26:53 -0700 | [diff] [blame] | 88 | android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 89 | style="@style/Suggestions" |
| 90 | android:background="@null" /> |
| 91 | <ImageView |
| 92 | android:id="@+id/voice" |
| 93 | android:layout_width="wrap_content" |
| 94 | android:layout_height="match_parent" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 95 | android:paddingRight="4dip" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 96 | android:contentDescription="@string/accessibility_button_voice" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 97 | android:src="@drawable/ic_voice_search_holo_dark" |
| 98 | style="@style/HoloButton" |
| 99 | android:visibility="gone" /> |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 100 | <ImageView |
| 101 | android:id="@+id/clear" |
| 102 | android:layout_width="wrap_content" |
| 103 | android:layout_height="match_parent" |
Peter Ng | df4cc0c | 2011-09-22 13:13:08 -0700 | [diff] [blame] | 104 | android:paddingRight="4dip" |
Michael Kolb | 94ec527 | 2011-08-31 16:23:57 -0700 | [diff] [blame] | 105 | android:contentDescription="@string/accessibility_button_clear" |
| 106 | android:src="@drawable/ic_close_window_holo_dark" |
| 107 | style="@style/HoloButton" |
| 108 | android:visibility="gone" /> |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 109 | </LinearLayout> |
| 110 | <ImageButton |
| 111 | android:id="@+id/tab_switcher" |
| 112 | android:layout_width="wrap_content" |
| 113 | android:layout_height="match_parent" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 114 | android:contentDescription="@string/accessibility_button_navscreen" |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 115 | android:src="@drawable/ic_windows_holo_dark" |
| 116 | style="@style/HoloButton" /> |
| 117 | <ImageButton |
| 118 | android:id="@+id/more" |
| 119 | android:layout_width="wrap_content" |
| 120 | android:layout_height="match_parent" |
| 121 | style="@style/HoloButton" |
| 122 | android:gravity="center_vertical" |
Michael Kolb | 30adae6 | 2011-07-29 13:37:05 -0700 | [diff] [blame] | 123 | android:contentDescription="@string/accessibility_button_more" |
Michael Kolb | e5d7a66 | 2011-08-02 15:30:39 -0700 | [diff] [blame] | 124 | android:src="@drawable/ic_menu_overflow" /> |
John Reck | 0f602f3 | 2011-07-07 15:38:43 -0700 | [diff] [blame] | 125 | </com.android.browser.NavigationBarPhone> |