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" |
| 15 | android:id="@+id/content" |
| 16 | android:layout_width="match_parent" |
| 17 | android:layout_height="wrap_content" |
| 18 | android:orientation="vertical"> |
| 19 | <LinearLayout |
| 20 | android:id="@+id/taburlbar" |
| 21 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 22 | android:layout_height="48dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 23 | android:orientation="horizontal" |
Michael Kolb | 2b5a13a | 2010-12-09 14:13:42 -0800 | [diff] [blame] | 24 | android:background="@drawable/bg_urlbar"> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 25 | <ImageButton |
| 26 | android:id="@+id/back" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 27 | android:src="@drawable/ic_back_holo_dark" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 28 | android:layout_width="wrap_content" |
| 29 | android:layout_height="match_parent" |
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 | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 37 | <ImageView |
| 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" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 49 | android:layout_marginLeft="16dip" |
| 50 | android:orientation="horizontal" |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 51 | android:background="@drawable/textfield_default_holo_dark"> |
| 52 | <ImageView |
| 53 | android:id="@+id/voice_icon" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="match_parent" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 56 | android:src="@drawable/ic_search_holo_dark" |
Michael Kolb | cfa3af5 | 2010-12-14 10:36:11 -0800 | [diff] [blame] | 57 | style="@style/HoloIcon" |
| 58 | android:visibility="gone" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 59 | <ImageView |
| 60 | android:id="@+id/lock" |
| 61 | android:layout_width="wrap_content" |
Michael Kolb | 0506f2d | 2010-10-14 16:20:16 -0700 | [diff] [blame] | 62 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 63 | style="@style/HoloIcon" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 64 | android:visibility="gone" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 65 | <com.android.browser.UrlInputView |
| 66 | android:id="@+id/url_focused" |
| 67 | android:layout_width="0dip" |
| 68 | android:layout_weight="1.0" |
| 69 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 70 | android:layout_marginTop="12dip" |
| 71 | android:layout_marginLeft="16dip" |
| 72 | android:paddingLeft="0dip" |
| 73 | android:paddingRight="0dip" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 74 | android:background="@null" |
| 75 | android:textAppearance="?android:attr/textAppearanceMedium" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 76 | android:hint="@string/search_hint" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 77 | android:singleLine="true" |
| 78 | android:ellipsize="end" |
| 79 | android:lines="1" |
| 80 | android:scrollHorizontally="true" |
| 81 | android:inputType="textUri" |
John Reck | 0182043 | 2010-11-29 10:32:24 -0800 | [diff] [blame] | 82 | android:imeOptions="actionGo" |
| 83 | style="@style/Suggestions" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 84 | <ImageView |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 85 | android:id="@+id/star" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 86 | android:src="@drawable/btn_imageview_star" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 87 | android:layout_width="wrap_content" |
| 88 | android:layout_height="match_parent" |
| 89 | style="@style/HoloButton" /> |
| 90 | <ImageView |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 91 | android:id="@+id/clear" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 92 | android:src="@drawable/ic_stop_holo_dark" |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 93 | android:layout_width="wrap_content" |
| 94 | android:layout_height="match_parent" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 95 | style="@style/HoloButton" /> |
Michael Kolb | 513286f | 2010-09-09 12:55:12 -0700 | [diff] [blame] | 96 | </LinearLayout> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 97 | <ImageButton |
| 98 | android:id="@+id/go" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 99 | android:src="@drawable/ic_go_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 100 | android:layout_width="wrap_content" |
| 101 | android:layout_height="match_parent" |
| 102 | android:visibility="gone" |
| 103 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 104 | style="@style/HoloButton" /> |
| 105 | <ImageView |
| 106 | android:id="@+id/voicesearch" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 107 | android:src="@drawable/ic_voice_search_holo_dark" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 108 | android:layout_width="wrap_content" |
| 109 | android:layout_height="match_parent" |
| 110 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 111 | <ImageButton |
| 112 | android:id="@+id/search" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 113 | android:src="@drawable/ic_search_holo_dark" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 114 | android:layout_width="wrap_content" |
| 115 | android:layout_height="match_parent" |
| 116 | android:gravity="center_vertical" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 117 | style="@style/HoloButton" /> |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 118 | <ImageButton |
| 119 | android:id="@+id/all_btn" |
| 120 | android:layout_width="wrap_content" |
| 121 | android:layout_height="match_parent" |
Michael Kolb | 31d469b | 2010-12-09 20:49:54 -0800 | [diff] [blame] | 122 | android:layout_marginRight="4dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 123 | android:scaleType="center" |
| 124 | style="@style/HoloButton" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame^] | 125 | android:src="@drawable/ic_bookmarks_history_holo_dark" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 126 | </LinearLayout> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 127 | <com.android.browser.PageProgressView |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 128 | android:id="@+id/progress" |
| 129 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 130 | android:layout_height="22dip" |
Michael Kolb | b7b115e | 2010-09-25 16:59:37 -0700 | [diff] [blame] | 131 | android:background="@null" |
| 132 | android:src="@drawable/progress" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 133 | android:layout_marginTop="-11dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 134 | android:visibility="gone" /> |
| 135 | </LinearLayout> |