blob: 0bff98e59e424a99f4811d2f2462ec5a09401bd0 [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"
John Reck1ebdbf42011-09-16 09:33:16 -070019 android:layout_height="match_parent">
John Reck13a18752011-01-13 11:32:57 -080020 <GridView
21 android:id="@+id/bookmarks_list"
John Reck1537b772011-01-11 15:36:01 -080022 android:layout_width="match_parent"
23 android:layout_height="match_parent"
John Reck5636ca92011-08-24 11:13:40 -070024 android:numColumns="auto_fit"
25 android:columnWidth="@dimen/widgetColumnWidth"
John Reck13a18752011-01-13 11:32:57 -080026 android:stretchMode="columnWidth"
27 android:horizontalSpacing="@dimen/widgetHorizontalSpacing"
28 android:verticalSpacing="@dimen/widgetVerticalSpacing"
29 android:drawSelectorOnTop="true"
30 android:listSelector="@drawable/bookmark_widget_thumb_selector"
John Reckdbf64e82011-03-16 11:26:26 -070031 android:background="@drawable/bg_bookmarks_widget_holo" />
John Reck13a18752011-01-13 11:32:57 -080032
33 <ImageButton
34 android:id="@+id/app_shortcut"
John Reck1ebdbf42011-09-16 09:33:16 -070035 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
John Reck13a18752011-01-13 11:32:57 -080037 android:layout_alignParentBottom="true"
38 android:layout_alignParentRight="true"
39 android:layout_marginRight="4dip"
John Reck1ebdbf42011-09-16 09:33:16 -070040 android:layout_marginBottom="4dip"
John Reck13a18752011-01-13 11:32:57 -080041 android:src="@mipmap/ic_launcher_browser"
42 android:background="@drawable/bookmark_widget_thumb_selector"
43 android:padding="4dip" />
44</RelativeLayout>