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 | |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 17 | <LinearLayout |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 19 | android:layout_width="match_parent" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 20 | android:layout_height="match_parent" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <FrameLayout |
| 24 | android:id="@+id/header_container" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 26 | android:layout_height="wrap_content" |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 27 | android:visibility="gone" /> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 28 | |
| 29 | <FrameLayout |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent"> |
| 32 | <GridView |
| 33 | android:id="@+id/grid" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="match_parent" |
| 36 | android:horizontalSpacing="16dip" |
| 37 | android:verticalSpacing="16dip" |
| 38 | android:stretchMode="spacingWidth" |
| 39 | android:scrollbarStyle="insideInset" |
John Reck | 93aa074 | 2010-11-30 17:41:57 -0800 | [diff] [blame] | 40 | android:listSelector="@drawable/bookmark_thumb_selector" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 41 | android:drawSelectorOnTop="true" |
| 42 | android:focusable="true" |
| 43 | android:focusableInTouchMode="true" |
| 44 | android:numColumns="auto_fit" /> |
| 45 | <ListView |
| 46 | android:id="@+id/list" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="match_parent" |
| 49 | android:focusable="true" |
| 50 | android:focusableInTouchMode="true" |
| 51 | android:visibility="gone"/> |
| 52 | <TextView |
| 53 | android:id="@android:id/empty" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:layout_gravity="center" |
| 57 | android:textAppearance="?android:attr/textAppearanceLarge" |
| 58 | android:text="@string/empty_bookmarks_folder" |
| 59 | android:visibility="gone" /> |
| 60 | </FrameLayout> |
| 61 | |
| 62 | </LinearLayout> |