John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [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 | 13a1875 | 2011-01-13 11:32:57 -0800 | [diff] [blame] | 16 | <RelativeLayout |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [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 | dbf64e8 | 2011-03-16 11:26:26 -0700 | [diff] [blame^] | 20 | android:paddingTop="0dip" |
| 21 | android:paddingBottom="23dip" |
| 22 | android:paddingLeft="8dip" |
| 23 | android:paddingRight="8dip"> |
John Reck | 13a1875 | 2011-01-13 11:32:57 -0800 | [diff] [blame] | 24 | <GridView |
| 25 | android:id="@+id/bookmarks_list" |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="match_parent" |
John Reck | 13a1875 | 2011-01-13 11:32:57 -0800 | [diff] [blame] | 28 | android:numColumns="2" |
John Reck | dbf64e8 | 2011-03-16 11:26:26 -0700 | [diff] [blame^] | 29 | android:paddingTop="6dip" |
| 30 | android:paddingRight="7dip" |
| 31 | android:paddingLeft="7dip" |
John Reck | 13a1875 | 2011-01-13 11:32:57 -0800 | [diff] [blame] | 32 | 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 Reck | b3417f0 | 2011-01-14 11:01:05 -0800 | [diff] [blame] | 37 | android:fadingEdgeLength="24dp" |
John Reck | dbf64e8 | 2011-03-16 11:26:26 -0700 | [diff] [blame^] | 38 | android:scrollbarStyle="outsideOverlay" |
| 39 | android:background="@drawable/bg_bookmarks_widget_holo" /> |
John Reck | 13a1875 | 2011-01-13 11:32:57 -0800 | [diff] [blame] | 40 | |
| 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> |