blob: 17aee1d37434bce85e2d34dbe98d4ba6846f5ba4 [file] [log] [blame]
John Reckdf63d2f2010-10-29 11:42:55 -07001<?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-->
16
17<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical"
John Reck5f133e02010-11-12 11:47:28 -080022 android:background="@null"
John Reckdf63d2f2010-10-29 11:42:55 -070023 android:focusable="true"
24 android:clickable="true">
25 <LinearLayout
26 android:id="@+id/header"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:orientation="horizontal"
30 android:padding="8dip"
John Reck5f133e02010-11-12 11:47:28 -080031 android:background="@color/bookmarkWidgetHeader">
John Reckdf63d2f2010-10-29 11:42:55 -070032 <ImageView
33 android:id="@+id/logo"
34 android:layout_width="32dp"
35 android:layout_height="32dp"
Ying Wang79697cb2010-11-23 11:17:46 -080036 android:src="@mipmap/ic_launcher_browser" />
John Reckdf63d2f2010-10-29 11:42:55 -070037 <TextView
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_gravity="center_vertical"
41 android:text="@string/tab_bookmarks"
42 android:textAppearance="?android:attr/textAppearanceMedium"
John Reckdf63d2f2010-10-29 11:42:55 -070043 android:paddingLeft="8dip" />
44 </LinearLayout>
45 <ListView
46 android:id="@+id/bookmarks_list"
47 android:layout_width="match_parent"
48 android:layout_height="match_parent"
John Reck5f133e02010-11-12 11:47:28 -080049 android:background="@color/bookmarkWidgetItemBackground"
50 android:cacheColorHint="@color/bookmarkWidgetItemBackground"
51 android:dividerHeight="1px"
52 android:divider="@color/bookmarkWidgetDivider" />
John Reckdf63d2f2010-10-29 11:42:55 -070053</LinearLayout>