Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 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 | --> |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 16 | <LinearLayout |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 20 | android:paddingTop="8dip" |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 21 | android:orientation="vertical" |
| 22 | android:background="@color/black"> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 23 | <LinearLayout |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="48dip"> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 26 | |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 27 | <LinearLayout |
| 28 | android:id="@+id/tabs" |
| 29 | android:layout_width="wrap_content" |
John Reck | 89f73c1 | 2010-12-01 10:10:14 -0800 | [diff] [blame] | 30 | android:layout_height="match_parent" |
| 31 | style="@style/ActionBarStyle"> |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 32 | <TextView |
| 33 | android:id="@+id/bmtab" |
| 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="match_parent" |
| 36 | android:paddingLeft="32dip" |
| 37 | android:paddingRight="32dip" |
| 38 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 39 | android:gravity="center_vertical" |
| 40 | android:text="@string/bookmarks" |
| 41 | android:drawableLeft="@drawable/ic_tab_bookmarks_selected" |
John Reck | 89f73c1 | 2010-12-01 10:10:14 -0800 | [diff] [blame] | 42 | android:drawablePadding="16dip" |
| 43 | android:background="@drawable/tab_background" /> |
| 44 | <ImageView |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="match_parent" |
| 47 | android:paddingTop="8dp" |
| 48 | android:paddingBottom="8dp" |
| 49 | android:src="@drawable/divider_vert" /> |
| 50 | <TextView |
| 51 | android:id="@+id/historytab" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="match_parent" |
| 54 | android:paddingLeft="32dip" |
| 55 | android:paddingRight="32dip" |
| 56 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 57 | android:gravity="center_vertical" |
| 58 | android:text="@string/tab_history" |
| 59 | android:drawableLeft="@drawable/ic_tab_history_selected" |
| 60 | android:drawablePadding="16dip" |
| 61 | android:background="@drawable/tab_background" /> |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 62 | </LinearLayout> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 63 | |
| 64 | <FrameLayout |
| 65 | android:id="@+id/header_container" |
| 66 | android:layout_width="0dip" |
| 67 | android:layout_weight="1" |
| 68 | android:layout_height="match_parent" /> |
| 69 | |
| 70 | <ImageView |
| 71 | android:id="@+id/seperate_select_add" |
| 72 | android:layout_width="wrap_content" |
| 73 | android:layout_height="match_parent" |
| 74 | android:paddingRight="16dip" |
| 75 | android:paddingLeft="16dip" |
| 76 | android:src="@drawable/divider_vert" /> |
| 77 | |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 78 | <TextView |
| 79 | android:id="@+id/addbm" |
| 80 | android:layout_width="wrap_content" |
| 81 | android:layout_height="match_parent" |
| 82 | android:text="@string/add_new_bookmark" |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 83 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 84 | android:gravity="center_vertical" |
| 85 | android:background="@null" |
| 86 | android:drawableLeft="@drawable/ic_favorite_off_normal" |
| 87 | android:drawablePadding="16dip" /> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 88 | |
John Reck | 89f73c1 | 2010-12-01 10:10:14 -0800 | [diff] [blame] | 89 | <ImageView |
| 90 | android:id="@+id/seperate_select_add" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="match_parent" |
| 93 | android:paddingLeft="16dip" |
| 94 | android:src="@drawable/divider_vert" /> |
| 95 | |
| 96 | <ImageView |
| 97 | android:id="@+id/home" |
| 98 | android:layout_width="wrap_content" |
| 99 | android:layout_height="match_parent" |
| 100 | android:src="@drawable/ic_home" |
| 101 | android:paddingRight="16dip" |
| 102 | android:paddingLeft="16dip" |
| 103 | android:scaleType="center" /> |
| 104 | |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 105 | </LinearLayout> |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 106 | <FrameLayout |
| 107 | android:id="@+id/fragment" |
| 108 | android:paddingTop="8dip" |
| 109 | android:layout_width="match_parent" |
| 110 | android:layout_height="0dip" |
| 111 | android:layout_weight="1.0" /> |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 112 | </LinearLayout> |