Michael Kolb | fe25199 | 2010-07-08 15:41:55 -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/tabbedtitleport" |
| 16 | android:layout_width="match_parent" |
| 17 | android:layout_height="wrap_content" |
| 18 | android:orientation="vertical" |
| 19 | android:background="#ffdddddd"> |
| 20 | <LinearLayout |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="wrap_content" |
| 23 | android:orientation="horizontal"> |
| 24 | <com.android.browser.TabScrollView |
| 25 | android:id="@+id/tabs" |
| 26 | android:layout_width="0dp" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:layout_weight="1.0" |
| 29 | android:orientation="horizontal" /> |
| 30 | <ImageButton |
| 31 | android:id="@+id/newtab" |
| 32 | android:src="@drawable/ic_menu_new_window" |
| 33 | android:layout_width="wrap_content" |
| 34 | android:layout_height="match_parent" |
| 35 | android:background="@drawable/browserbarbutton" /> |
| 36 | </LinearLayout> |
| 37 | <LinearLayout |
| 38 | android:id="@+id/urlbar" |
| 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:orientation="horizontal" |
| 42 | android:paddingLeft="6dip" |
| 43 | android:paddingRight="6dip"> |
| 44 | <ImageButton |
| 45 | android:id="@+id/back" |
| 46 | android:src="@drawable/ic_arrow_left" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="match_parent" |
| 49 | android:layout_marginRight="6dip" |
| 50 | android:background="@drawable/browserbarbutton" /> |
| 51 | <ImageButton |
| 52 | android:id="@+id/forward" |
| 53 | android:src="@drawable/ic_arrow_right" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="match_parent" |
| 56 | android:layout_marginRight="6dip" |
| 57 | android:background="@drawable/browserbarbutton" /> |
| 58 | <ImageButton |
| 59 | android:id="@+id/star" |
| 60 | android:src="@drawable/ic_star" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="match_parent" |
| 63 | android:layout_marginRight="6dip" |
| 64 | android:background="@drawable/browserbarbutton" /> |
| 65 | <com.android.browser.UrlInputView |
| 66 | android:id="@+id/editurl" |
| 67 | android:layout_width="0dip" |
| 68 | android:layout_weight="1.0" |
| 69 | android:layout_height="wrap_content" |
| 70 | android:layout_marginLeft="3dip" |
| 71 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 72 | android:textColor="@color/black" |
| 73 | android:gravity="center_vertical" |
| 74 | android:singleLine="true" |
| 75 | android:ellipsize="end" |
| 76 | android:lines="1" |
| 77 | android:scrollHorizontally="true" |
| 78 | android:visibility="gone" |
| 79 | android:background="@drawable/textfield_nostroke" |
| 80 | android:inputType="textUri" |
| 81 | android:imeOptions="actionGo" /> |
| 82 | <ImageButton |
| 83 | android:id="@+id/menu" |
| 84 | android:src="@drawable/ic_menu" |
| 85 | android:layout_width="wrap_content" |
| 86 | android:layout_height="match_parent" |
| 87 | android:layout_marginRight="6dip" |
| 88 | android:background="@drawable/browserbarbutton" /> |
| 89 | <ImageButton |
| 90 | android:id="@+id/all_btn" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="match_parent" |
| 93 | android:scaleType="center" |
| 94 | android:background="@drawable/browserbarbutton" |
| 95 | android:src="@drawable/ic_pages" /> |
| 96 | </LinearLayout> |
| 97 | </LinearLayout> |