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 | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 24 | android:background="@drawable/urlbar_bg" |
| 25 | > |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 26 | <ImageButton |
| 27 | android:id="@+id/back" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 28 | android:src="@drawable/ic_back_normal" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 29 | android:layout_width="wrap_content" |
| 30 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 31 | style="@style/HoloButton" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 32 | android:background="@drawable/browserbarbutton" /> |
| 33 | <ImageButton |
| 34 | android:id="@+id/forward" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 35 | android:src="@drawable/ic_forward_normal" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 38 | style="@style/HoloButton" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 39 | android:background="@drawable/browserbarbutton" /> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 40 | <ImageView |
| 41 | android:id="@+id/stop" |
| 42 | android:background="@drawable/browserbarbutton" |
| 43 | android:layout_width="wrap_content" |
| 44 | android:layout_height="match_parent" |
| 45 | style="@style/HoloButton" |
| 46 | android:gravity="center_vertical" |
| 47 | android:src="@drawable/ic_stop_normal" /> |
| 48 | <ImageButton |
| 49 | android:id="@+id/all_btn" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="match_parent" |
| 52 | android:scaleType="center" |
| 53 | style="@style/HoloButton" |
| 54 | android:background="@drawable/browserbarbutton" |
| 55 | android:src="@drawable/ic_bookmarks_history_normal" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 56 | <LinearLayout |
| 57 | android:id="@+id/urlbar" |
| 58 | android:layout_width="0dip" |
| 59 | android:layout_height="match_parent" |
| 60 | android:layout_weight="1.0" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 61 | android:orientation="horizontal" > |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 62 | <ImageButton |
| 63 | android:id="@+id/star" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 64 | android:src="@drawable/ic_favorite_on_normal" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 67 | style="@style/HoloButton" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 68 | android:background="@drawable/browserbarbutton" /> |
| 69 | <ImageView |
| 70 | android:id="@+id/lock" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 73 | style="@style/HoloIcon" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 74 | android:visibility="gone" /> |
| 75 | <com.android.browser.UrlInputView |
| 76 | android:id="@+id/editurl" |
| 77 | android:layout_width="0dip" |
| 78 | android:layout_weight="1.0" |
| 79 | android:layout_height="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 80 | android:background="@null" |
| 81 | android:paddingLeft="16dip" |
| 82 | android:paddingRight="16dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 83 | android:textAppearance="?android:attr/textAppearanceMedium" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 84 | android:hint="@string/search_hint" |
| 85 | android:gravity="center_vertical" |
| 86 | android:singleLine="true" |
| 87 | android:ellipsize="end" |
| 88 | android:lines="1" |
| 89 | android:scrollHorizontally="true" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 90 | android:inputType="textUri" |
| 91 | android:imeOptions="actionGo" /> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 92 | <ImageButton |
| 93 | android:id="@+id/search" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 94 | android:src="@drawable/ic_search_normal" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 95 | android:layout_width="wrap_content" |
| 96 | android:layout_height="match_parent" |
| 97 | android:gravity="center_vertical" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 98 | style="@style/HoloButton" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 99 | android:background="@drawable/browserbarbutton" /> |
| 100 | </LinearLayout> |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 101 | </LinearLayout> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 102 | <com.android.browser.PageProgressView |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 103 | android:id="@+id/progress" |
| 104 | android:layout_width="match_parent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 105 | android:layout_height="22dip" |
| 106 | android:background = "@null" |
| 107 | android:src = "@drawable/progress" |
| 108 | android:layout_marginTop="-11dip" |
Michael Kolb | a2b2ba8 | 2010-08-04 17:54:03 -0700 | [diff] [blame] | 109 | android:visibility="gone" /> |
| 110 | </LinearLayout> |