Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright 2010, The Android Open Source Project Licensed under the |
| 4 | Apache License, Version 2.0 (the "License"); you may not use this file |
| 5 | except in compliance with the License. You may obtain a copy of the |
| 6 | License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by |
| 7 | applicable law or agreed to in writing, software distributed under the |
| 8 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR |
| 9 | CONDITIONS OF ANY KIND, either express or implied. See the License for |
| 10 | the specific language governing permissions and limitations under the |
| 11 | License. |
| 12 | --> |
| 13 | <LinearLayout |
| 14 | xmlns:android="http://schemas.android.com/apk/res/android" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 15 | android:layout_width="match_parent" |
| 16 | android:layout_height="wrap_content" |
| 17 | android:orientation="vertical"> |
| 18 | <LinearLayout |
| 19 | android:id="@+id/taburlbar" |
| 20 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 21 | android:layout_height="48dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 22 | android:orientation="horizontal" |
Michael Kolb | 2b5a13a | 2010-12-09 14:13:42 -0800 | [diff] [blame] | 23 | android:background="@drawable/bg_urlbar"> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 24 | <ImageButton |
| 25 | android:id="@+id/back" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 26 | android:src="@drawable/ic_back_holo_dark" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="match_parent" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 29 | android:paddingLeft="16dip" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 30 | style="@style/HoloButton" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 31 | <ImageButton |
| 32 | android:id="@+id/forward" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 33 | android:src="@drawable/ic_forward_holo_dark" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 36 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 37 | <ImageButton |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 38 | android:id="@+id/stop" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="match_parent" |
| 41 | style="@style/HoloButton" |
| 42 | android:gravity="center_vertical" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 43 | android:src="@drawable/ic_stop_holo_dark" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 44 | <LinearLayout |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 45 | android:id="@+id/urlbar_focused" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 46 | android:layout_width="0dip" |
| 47 | android:layout_height="match_parent" |
| 48 | android:layout_weight="1.0" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 49 | android:layout_marginLeft="8dip" |
| 50 | android:layout_marginRight="8dip" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 51 | android:orientation="horizontal" |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 52 | android:background="@drawable/url_background"> |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 53 | <ImageView |
Michael Kolb | 5b2299c | 2011-01-25 16:54:34 -0800 | [diff] [blame] | 54 | android:id="@+id/web_icon" |
| 55 | android:layout_width="wrap_content" |
| 56 | android:layout_height="match_parent" |
| 57 | android:src="@drawable/ic_web_holo_dark" |
| 58 | style="@style/HoloIcon" /> |
| 59 | <ImageView |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 60 | android:id="@+id/voice_icon" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="match_parent" |
Michael Kolb | 3a2a164 | 2011-02-15 10:52:07 -0800 | [diff] [blame] | 63 | android:src="@drawable/ic_voice_search_holo_dark" |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 64 | style="@style/HoloIcon" |
| 65 | android:visibility="gone" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 66 | <ImageView |
| 67 | android:id="@+id/lock" |
| 68 | android:layout_width="wrap_content" |
Michael Kolb | 0506f2d | 2010-10-14 16:20:16 -0700 | [diff] [blame] | 69 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 70 | style="@style/HoloIcon" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 71 | android:visibility="gone" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 72 | <com.android.browser.UrlInputView |
| 73 | android:id="@+id/url_focused" |
| 74 | android:layout_width="0dip" |
| 75 | android:layout_weight="1.0" |
| 76 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 77 | android:layout_marginLeft="16dip" |
| 78 | android:paddingLeft="0dip" |
| 79 | android:paddingRight="0dip" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 80 | android:background="@null" |
| 81 | android:textAppearance="?android:attr/textAppearanceMedium" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 82 | android:hint="@string/search_hint" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 83 | android:singleLine="true" |
| 84 | android:ellipsize="end" |
| 85 | android:lines="1" |
| 86 | android:scrollHorizontally="true" |
| 87 | android:inputType="textUri" |
John Reck | 0182043 | 2010-11-29 10:32:24 -0800 | [diff] [blame] | 88 | android:imeOptions="actionGo" |
| 89 | style="@style/Suggestions" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 90 | <ImageButton |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 91 | android:id="@+id/star" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 92 | android:src="@drawable/btn_imageview_star" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 93 | android:layout_width="wrap_content" |
| 94 | android:layout_height="match_parent" |
| 95 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 96 | <ImageButton |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 97 | android:id="@+id/clear" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 98 | android:src="@drawable/ic_stop_holo_dark" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 99 | android:layout_width="wrap_content" |
| 100 | android:layout_height="match_parent" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 101 | style="@style/HoloButton" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 102 | </LinearLayout> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 103 | <ImageButton |
| 104 | android:id="@+id/go" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 105 | android:src="@drawable/ic_go_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 106 | android:layout_width="wrap_content" |
| 107 | android:layout_height="match_parent" |
| 108 | android:visibility="gone" |
| 109 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 110 | style="@style/HoloButton" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 111 | <ImageButton |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 112 | android:id="@+id/voicesearch" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 113 | android:src="@drawable/ic_voice_search_holo_dark" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 114 | android:layout_width="wrap_content" |
| 115 | android:layout_height="match_parent" |
| 116 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 117 | <ImageButton |
| 118 | android:id="@+id/search" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 119 | android:src="@drawable/ic_search_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 120 | android:layout_width="wrap_content" |
| 121 | android:layout_height="match_parent" |
| 122 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 123 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 124 | <ImageButton |
| 125 | android:id="@+id/all_btn" |
| 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="match_parent" |
| 128 | android:scaleType="center" |
John Reck | 3f24ba2 | 2011-01-20 12:55:17 -0800 | [diff] [blame] | 129 | android:paddingRight="16dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 130 | style="@style/HoloButton" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 131 | android:src="@drawable/ic_bookmarks_history_holo_dark" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 132 | </LinearLayout> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 133 | <com.android.browser.PageProgressView |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 134 | android:id="@+id/progress" |
| 135 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 136 | android:layout_height="22dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 137 | android:background="@null" |
| 138 | android:src="@drawable/progress" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 139 | android:layout_marginTop="-11dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 140 | android:visibility="gone" /> |
| 141 | </LinearLayout> |