blob: 967e4c1baa44836a8e5a8a94169a29f6609fed4e [file] [log] [blame]
John Reck1537b772011-01-11 15:36:01 -08001<?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 Reck13a18752011-01-13 11:32:57 -080016<RelativeLayout
John Reck1537b772011-01-11 15:36:01 -080017 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="match_parent"
John Reckdbf64e82011-03-16 11:26:26 -070020 android:paddingTop="0dip"
John Reck40a89f52011-06-27 17:26:15 -070021 android:paddingBottom="3dip"
22 android:paddingLeft="0dip"
23 android:paddingRight="0dip">
John Reck13a18752011-01-13 11:32:57 -080024 <GridView
25 android:id="@+id/bookmarks_list"
John Reck1537b772011-01-11 15:36:01 -080026 android:layout_width="match_parent"
27 android:layout_height="match_parent"
John Reck5636ca92011-08-24 11:13:40 -070028 android:numColumns="auto_fit"
29 android:columnWidth="@dimen/widgetColumnWidth"
John Reckdbf64e82011-03-16 11:26:26 -070030 android:paddingTop="6dip"
31 android:paddingRight="7dip"
32 android:paddingLeft="7dip"
John Reck13a18752011-01-13 11:32:57 -080033 android:stretchMode="columnWidth"
34 android:horizontalSpacing="@dimen/widgetHorizontalSpacing"
35 android:verticalSpacing="@dimen/widgetVerticalSpacing"
36 android:drawSelectorOnTop="true"
37 android:listSelector="@drawable/bookmark_widget_thumb_selector"
John Reckb3417f02011-01-14 11:01:05 -080038 android:fadingEdgeLength="24dp"
John Reckdbf64e82011-03-16 11:26:26 -070039 android:scrollbarStyle="outsideOverlay"
40 android:background="@drawable/bg_bookmarks_widget_holo" />
John Reck13a18752011-01-13 11:32:57 -080041
42 <ImageButton
43 android:id="@+id/app_shortcut"
44 android:layout_width="56dip"
45 android:layout_height="56dip"
46 android:layout_alignParentBottom="true"
47 android:layout_alignParentRight="true"
48 android:layout_marginRight="4dip"
49 android:layout_marginBottom="6dip"
50 android:scaleType="centerInside"
51 android:src="@mipmap/ic_launcher_browser"
52 android:background="@drawable/bookmark_widget_thumb_selector"
53 android:padding="4dip" />
54</RelativeLayout>