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" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 19 | android:id="@+id/bookmarks" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 20 | android:layout_width="match_parent" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 21 | android:layout_height="match_parent" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 22 | android:orientation="vertical" |
John Reck | f3828cd | 2011-06-14 17:21:55 -0700 | [diff] [blame^] | 23 | android:paddingTop="@dimen/combo_paddingTop"> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 24 | |
| 25 | <FrameLayout |
| 26 | android:id="@+id/header_container" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 27 | android:layout_width="match_parent" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 28 | android:layout_height="wrap_content" |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 29 | android:visibility="gone" /> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 30 | |
| 31 | <FrameLayout |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent"> |
John Reck | 71efc2b | 2011-05-09 16:54:28 -0700 | [diff] [blame] | 34 | <com.android.browser.view.BookmarkExpandableGridView |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 35 | android:id="@+id/grid" |
John Reck | 71efc2b | 2011-05-09 16:54:28 -0700 | [diff] [blame] | 36 | android:layout_width="match_parent" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 37 | android:layout_height="match_parent" |
John Reck | b3417f0 | 2011-01-14 11:01:05 -0800 | [diff] [blame] | 38 | android:layout_gravity="center_horizontal" |
John Reck | 71efc2b | 2011-05-09 16:54:28 -0700 | [diff] [blame] | 39 | android:childDivider="@android:color/transparent" |
| 40 | android:divider="@android:color/transparent" |
| 41 | android:dividerHeight="0dp" /> |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 42 | <ListView |
| 43 | android:id="@+id/list" |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="match_parent" |
John Reck | b3417f0 | 2011-01-14 11:01:05 -0800 | [diff] [blame] | 46 | android:listSelector="@drawable/bookmark_thumb_selector" |
| 47 | android:drawSelectorOnTop="true" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 48 | android:focusable="true" |
| 49 | android:focusableInTouchMode="true" |
| 50 | android:visibility="gone"/> |
| 51 | <TextView |
| 52 | android:id="@android:id/empty" |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_gravity="center" |
| 56 | android:textAppearance="?android:attr/textAppearanceLarge" |
| 57 | android:text="@string/empty_bookmarks_folder" |
| 58 | android:visibility="gone" /> |
| 59 | </FrameLayout> |
| 60 | |
| 61 | </LinearLayout> |