Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 17 | <LinearLayout |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 19 | android:id="@+id/main" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 20 | android:layout_width="wrap_content" |
Michael Kolb | a4261fd | 2011-05-05 11:27:37 -0700 | [diff] [blame] | 21 | android:layout_height="match_parent" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 22 | android:paddingLeft="4dp" |
| 23 | android:paddingRight="4dp" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 24 | android:orientation="vertical" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 25 | android:focusable="false"> |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 26 | <LinearLayout |
| 27 | android:id="@+id/titlebar" |
| 28 | android:orientation="horizontal" |
| 29 | android:layout_width="match_parent" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 30 | android:layout_height="@dimen/toolbar_height" |
| 31 | android:paddingLeft="4dip" |
| 32 | android:paddingRight="4dip" |
| 33 | android:paddingTop="2dip" |
| 34 | android:paddingBottom="2dip"> |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 35 | <ImageView |
| 36 | android:id="@+id/favicon" |
Michael Kolb | 5a4372f | 2011-04-29 13:53:10 -0700 | [diff] [blame] | 37 | android:layout_width="20dip" |
| 38 | android:layout_height="20dip" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 39 | android:layout_marginLeft="4dip" |
| 40 | android:layout_marginRight="4dip" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 41 | android:layout_gravity="center_vertical" /> |
| 42 | <TextView |
| 43 | android:id="@+id/title" |
| 44 | android:layout_width="0dip" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 45 | android:layout_height="match_parent" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 46 | android:layout_weight="1.0" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 47 | android:gravity="center_vertical" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 48 | android:singleLine="true" |
| 49 | android:ellipsize="end" |
| 50 | android:lines="1" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 51 | android:background="@*android:drawable/edit_text_holo_dark" |
| 52 | android:textAppearance="?android:attr/textAppearanceMedium" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 53 | android:scrollHorizontally="true" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 54 | android:hint="@string/search_hint" /> |
| 55 | <ImageButton |
| 56 | android:id="@+id/refresh" |
| 57 | android:layout_width="wrap_content" |
| 58 | android:layout_height="match_parent" |
| 59 | android:src="@drawable/ic_refresh_holo_dark" |
| 60 | style="@style/HoloButton" /> |
| 61 | <ImageButton |
| 62 | android:id="@+id/forward" |
| 63 | android:layout_width="wrap_content" |
| 64 | android:layout_height="match_parent" |
| 65 | android:src="@drawable/ic_forward_holo_dark" |
| 66 | style="@style/HoloButton" /> |
| 67 | </LinearLayout> |
| 68 | <FrameLayout |
| 69 | android:id="@+id/tab_view" |
| 70 | android:layout_width="@dimen/nav_tab_width" |
| 71 | android:layout_height="@dimen/nav_tab_height" |
| 72 | android:padding="4dip" |
| 73 | android:focusable="false" |
| 74 | android:background="@drawable/nav_tab_bg"> |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 75 | <ImageButton |
| 76 | android:id="@+id/closetab" |
| 77 | android:src="@drawable/ic_stop_holo_dark" |
| 78 | android:layout_width="wrap_content" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 79 | android:layout_height="wrap_content" |
| 80 | android:layout_gravity="right|top" |
| 81 | android:background="@drawable/navtab_close_background" /> |
| 82 | </FrameLayout> |
| 83 | </LinearLayout> |