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 | |
| 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Jeff Hamilton | db90aa8 | 2010-09-16 03:38:04 -0500 | [diff] [blame^] | 31 | android:orientation="horizontal" |
| 32 | > |
| 33 | <Button android:id="@+id/up" |
| 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:text="@string/defaultBookmarksUpButton" |
| 37 | /> |
| 38 | |
| 39 | <!-- space --> |
| 40 | <View |
| 41 | android:layout_width="0dip" |
| 42 | android:layout_height="0dip" |
| 43 | android:layout_weight="1" |
| 44 | /> |
| 45 | |
| 46 | <Spinner android:id="@+id/accounts" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
| 49 | /> |
| 50 | </LinearLayout> |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 51 | |
| 52 | <GridView android:id="@+id/grid" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="match_parent" |
| 55 | |
| 56 | android:horizontalSpacing="8dip" |
| 57 | android:verticalSpacing="14dip" |
| 58 | android:stretchMode="spacingWidth" |
| 59 | android:scrollbarStyle="insideInset" |
| 60 | android:listSelector="@android:drawable/gallery_thumb" |
| 61 | android:drawSelectorOnTop="true" |
| 62 | android:focusable="true" |
| 63 | android:focusableInTouchMode="true" |
| 64 | android:numColumns="auto_fit" |
| 65 | /> |
| 66 | </LinearLayout> |
| 67 | |
| 68 | <TextView android:id="@android:id/empty" |
| 69 | android:layout_width="wrap_content" |
| 70 | android:layout_height="wrap_content" |
| 71 | android:layout_gravity="center" |
| 72 | |
| 73 | android:textAppearance="?android:attr/textAppearanceLarge" |
Jeff Hamilton | db90aa8 | 2010-09-16 03:38:04 -0500 | [diff] [blame^] | 74 | android:text="@string/empty_bookmarks_folder" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 75 | android:visibility="gone" |
| 76 | /> |
| 77 | |
| 78 | </FrameLayout> |