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" |
| 22 | android:layout_height="wrap_content" |
| 23 | android:orientation="horizontal" |
| 24 | android:background="#ffdddddd" |
| 25 | android:paddingLeft="6dip" |
| 26 | android:paddingRight="6dip" |
| 27 | android:paddingTop="2dip" |
| 28 | android:paddingBottom="2dip"> |
| 29 | <ImageButton |
| 30 | android:id="@+id/back" |
| 31 | android:src="@drawable/ic_arrow_left" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="match_parent" |
| 34 | android:layout_marginRight="6dip" |
| 35 | android:background="@drawable/browserbarbutton" /> |
| 36 | <ImageButton |
| 37 | android:id="@+id/forward" |
| 38 | android:src="@drawable/ic_arrow_right" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="match_parent" |
| 41 | android:layout_marginRight="6dip" |
| 42 | android:background="@drawable/browserbarbutton" /> |
| 43 | <LinearLayout |
| 44 | android:id="@+id/urlbar" |
| 45 | android:layout_width="0dip" |
| 46 | android:layout_height="match_parent" |
| 47 | android:layout_weight="1.0" |
| 48 | android:orientation="horizontal" |
| 49 | android:background="#ffffffff"> |
| 50 | <ImageButton |
| 51 | android:id="@+id/star" |
| 52 | android:src="@drawable/ic_star" |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="match_parent" |
| 55 | android:layout_marginLeft="6dip" |
| 56 | android:background="@drawable/browserbarbutton" /> |
| 57 | <ImageView |
| 58 | android:id="@+id/lock" |
| 59 | android:layout_width="wrap_content" |
| 60 | android:layout_height="wrap_content" |
| 61 | android:layout_marginLeft="6dip" |
| 62 | android:visibility="gone" /> |
| 63 | <com.android.browser.UrlInputView |
| 64 | android:id="@+id/editurl" |
| 65 | android:layout_width="0dip" |
| 66 | android:layout_weight="1.0" |
| 67 | android:layout_height="match_parent" |
| 68 | android:layout_marginLeft="6dip" |
| 69 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 70 | android:textColor="@color/black" |
| 71 | android:hint="@string/search_hint" |
| 72 | android:gravity="center_vertical" |
| 73 | android:singleLine="true" |
| 74 | android:ellipsize="end" |
| 75 | android:lines="1" |
| 76 | android:scrollHorizontally="true" |
| 77 | android:background="@null" |
| 78 | android:inputType="textUri" |
| 79 | android:imeOptions="actionGo" /> |
| 80 | <ImageView |
| 81 | android:id="@+id/stop" |
| 82 | android:background="@drawable/browserbarbutton" |
| 83 | android:layout_width="wrap_content" |
| 84 | android:layout_height="match_parent" |
| 85 | android:layout_marginLeft="6dip" |
| 86 | android:gravity="center_vertical" |
| 87 | android:src="@drawable/ic_stop" /> |
| 88 | <ImageButton |
| 89 | android:id="@+id/search" |
| 90 | android:src="@drawable/ic_btn_find" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="match_parent" |
| 93 | android:gravity="center_vertical" |
| 94 | android:layout_marginLeft="6dip" |
| 95 | android:layout_marginRight="6dip" |
| 96 | android:background="@drawable/browserbarbutton" /> |
| 97 | </LinearLayout> |
| 98 | <ImageButton |
| 99 | android:id="@+id/menu" |
| 100 | android:src="@drawable/ic_menu" |
| 101 | android:layout_width="wrap_content" |
| 102 | android:layout_height="match_parent" |
| 103 | android:layout_marginLeft="6dip" |
| 104 | android:layout_marginRight="6dip" |
| 105 | android:background="@drawable/browserbarbutton" /> |
| 106 | <ImageButton |
| 107 | android:id="@+id/all_btn" |
| 108 | android:layout_width="wrap_content" |
| 109 | android:layout_height="match_parent" |
| 110 | android:scaleType="center" |
| 111 | android:layout_marginLeft="6dip" |
| 112 | android:background="@drawable/browserbarbutton" |
| 113 | android:src="@drawable/ic_pages" /> |
| 114 | </LinearLayout> |
| 115 | <ImageView |
| 116 | android:id="@+id/progress" |
| 117 | android:layout_width="match_parent" |
| 118 | android:layout_height="8dip" |
| 119 | android:src="@drawable/progress" |
| 120 | android:visibility="gone" /> |
| 121 | </LinearLayout> |