Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
| 20 | > |
| 21 | |
| 22 | <LinearLayout android:id="@android:id/content" |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="match_parent" |
| 25 | android:orientation="vertical" |
| 26 | > |
Jeff Hamilton | db90aa8 | 2010-09-16 03:38:04 -0500 | [diff] [blame] | 27 | |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 28 | <Button android:id="@+id/up" |
| 29 | android:layout_width="wrap_content" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 31 | android:text="@string/defaultBookmarksUpButton" |
| 32 | /> |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 33 | |
| 34 | <GridView android:id="@+id/grid" |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="match_parent" |
| 37 | |
| 38 | android:horizontalSpacing="8dip" |
| 39 | android:verticalSpacing="14dip" |
| 40 | android:stretchMode="spacingWidth" |
| 41 | android:scrollbarStyle="insideInset" |
| 42 | android:listSelector="@android:drawable/gallery_thumb" |
| 43 | android:drawSelectorOnTop="true" |
| 44 | android:focusable="true" |
| 45 | android:focusableInTouchMode="true" |
| 46 | android:numColumns="auto_fit" |
| 47 | /> |
| 48 | </LinearLayout> |
| 49 | |
| 50 | <TextView android:id="@android:id/empty" |
| 51 | android:layout_width="wrap_content" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_gravity="center" |
| 54 | |
| 55 | android:textAppearance="?android:attr/textAppearanceLarge" |
Jeff Hamilton | db90aa8 | 2010-09-16 03:38:04 -0500 | [diff] [blame] | 56 | android:text="@string/empty_bookmarks_folder" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 57 | android:visibility="gone" |
| 58 | /> |
| 59 | |
| 60 | </FrameLayout> |