blob: 2ac0db16038f6ff6f33e884273520cd2894aee56 [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"
21 android:paddingBottom="23dip"
22 android:paddingLeft="8dip"
23 android:paddingRight="8dip">
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 Reck13a18752011-01-13 11:32:57 -080028 android:numColumns="2"
John Reckdbf64e82011-03-16 11:26:26 -070029 android:paddingTop="6dip"
30 android:paddingRight="7dip"
31 android:paddingLeft="7dip"
John Reck13a18752011-01-13 11:32:57 -080032 android:stretchMode="columnWidth"
33 android:horizontalSpacing="@dimen/widgetHorizontalSpacing"
34 android:verticalSpacing="@dimen/widgetVerticalSpacing"
35 android:drawSelectorOnTop="true"
36 android:listSelector="@drawable/bookmark_widget_thumb_selector"
John Reckb3417f02011-01-14 11:01:05 -080037 android:fadingEdgeLength="24dp"
John Reckdbf64e82011-03-16 11:26:26 -070038 android:scrollbarStyle="outsideOverlay"
39 android:background="@drawable/bg_bookmarks_widget_holo" />
John Reck13a18752011-01-13 11:32:57 -080040
41 <ImageButton
42 android:id="@+id/app_shortcut"
43 android:layout_width="56dip"
44 android:layout_height="56dip"
45 android:layout_alignParentBottom="true"
46 android:layout_alignParentRight="true"
47 android:layout_marginRight="4dip"
48 android:layout_marginBottom="6dip"
49 android:scaleType="centerInside"
50 android:src="@mipmap/ic_launcher_browser"
51 android:background="@drawable/bookmark_widget_thumb_selector"
52 android:padding="4dip" />
53</RelativeLayout>