John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 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 | --> |
John Reck | 439c9a5 | 2010-12-14 10:04:39 -0800 | [diff] [blame] | 16 | <FrameLayout |
John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
John Reck | 439c9a5 | 2010-12-14 10:04:39 -0800 | [diff] [blame] | 20 | android:paddingTop="4dip" |
| 21 | android:paddingBottom="20dip" |
| 22 | android:paddingLeft="12dip" |
| 23 | android:paddingRight="12dip"> |
John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 24 | <LinearLayout |
John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
John Reck | 439c9a5 | 2010-12-14 10:04:39 -0800 | [diff] [blame] | 27 | android:orientation="vertical" |
| 28 | android:background="@drawable/bg_bookmark_widget_holo" |
| 29 | android:paddingLeft="0dip" |
| 30 | android:paddingRight="0dip" |
| 31 | android:paddingBottom="0dip"> |
| 32 | <LinearLayout |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="42dip" |
| 35 | android:orientation="horizontal" |
| 36 | android:background="@drawable/header_bg_bookmark_widget_holo" |
| 37 | android:layout_marginLeft="5dip" |
| 38 | android:layout_marginRight="5dip"> |
| 39 | <LinearLayout |
| 40 | android:id="@+id/header_browser" |
| 41 | android:layout_width="0dip" |
| 42 | android:layout_height="match_parent" |
| 43 | android:layout_weight="1" |
| 44 | android:orientation="horizontal" |
| 45 | android:paddingLeft="16dip" |
| 46 | android:focusable="true" |
| 47 | android:clickable="true" |
| 48 | android:background="@drawable/widget_header_selector"> |
| 49 | <ImageView |
| 50 | android:id="@+id/logo" |
| 51 | android:layout_width="wrap_content" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_gravity="center_vertical" |
| 54 | android:src="@drawable/ic_browser_bookmark_widget_holo" /> |
| 55 | <TextView |
| 56 | android:layout_width="0dip" |
| 57 | android:layout_height="wrap_content" |
| 58 | android:layout_weight="1" |
| 59 | android:layout_gravity="center_vertical" |
| 60 | android:text="@string/application_name" |
| 61 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 62 | android:textStyle="bold" |
| 63 | android:paddingLeft="8dip" /> |
| 64 | </LinearLayout> |
| 65 | <ImageView |
| 66 | android:id="@+id/header_bookmarks" |
| 67 | android:layout_width="wrap_content" |
| 68 | android:layout_height="match_parent" |
| 69 | android:src="@drawable/btn_ic_bookmark_bookmark_widget_holo_dark" |
| 70 | android:scaleType="centerInside" |
| 71 | android:focusable="true" |
| 72 | android:clickable="true" |
| 73 | android:background="@drawable/widget_header_selector" |
| 74 | android:paddingLeft="8dip" |
| 75 | android:paddingRight="8dip" /> |
| 76 | </LinearLayout> |
| 77 | <ImageView android:background="@drawable/list_div_top_btm_bookmark_widget_holo" |
| 78 | android:layout_height="wrap_content" |
| 79 | android:layout_width="match_parent" |
| 80 | android:layout_marginLeft="2dip" |
| 81 | android:layout_marginRight="2dip" /> |
| 82 | <ListView |
| 83 | android:id="@+id/bookmarks_list" |
| 84 | android:layout_width="match_parent" |
| 85 | android:layout_height="0dip" |
| 86 | android:layout_weight="1" |
| 87 | android:background="@drawable/widget_background" |
| 88 | android:cacheColorHint="@android:color/transparent" |
| 89 | android:divider="@drawable/list_div_bookmark_widget_holo" |
| 90 | android:layout_marginLeft="5dip" |
| 91 | android:layout_marginRight="5dip" /> |
| 92 | <ImageView android:background="@drawable/list_div_top_btm_bookmark_widget_holo" |
| 93 | android:layout_height="wrap_content" |
| 94 | android:layout_width="match_parent" |
| 95 | android:layout_marginLeft="2dip" |
| 96 | android:layout_marginRight="2dip" |
| 97 | android:layout_marginBottom="2dip" /> |
| 98 | </LinearLayout> |
| 99 | </FrameLayout> |