The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2007 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 | |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 17 | <com.android.launcher2.DragLayer |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 19 | xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 20 | |
Joe Onorato | 00acb12 | 2009-08-04 16:04:30 -0400 | [diff] [blame] | 21 | android:id="@+id/drag_layer" |
| 22 | android:layout_width="fill_parent" |
| 23 | android:layout_height="fill_parent"> |
Joe Onorato | 5979117 | 2009-07-31 16:21:40 -0700 | [diff] [blame] | 24 | |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 25 | <com.android.launcher2.AllAppsView |
| 26 | android:id="@+id/all_apps_view" |
| 27 | android:layout_width="fill_parent" |
| 28 | android:layout_height="fill_parent" |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 29 | |
| 30 | android:scrollbarStyle="outsideInset" |
| 31 | android:drawSelectorOnTop="false" |
| 32 | android:listSelector="@drawable/grid_selector" |
| 33 | |
| 34 | android:verticalSpacing="10dip" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame^] | 35 | android:numColumns="4" |
| 36 | /> |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 37 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 38 | <!-- The workspace contains 3 screens of cells --> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 39 | <com.android.launcher2.Workspace |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 40 | android:id="@+id/workspace" |
| 41 | android:layout_width="fill_parent" |
| 42 | android:layout_height="fill_parent" |
| 43 | |
| 44 | launcher:defaultScreen="1"> |
| 45 | |
| 46 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 47 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 48 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
| 49 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 50 | </com.android.launcher2.Workspace> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 51 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 52 | <com.android.launcher2.HandleView |
| 53 | android:id="@+id/all_apps_button" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame^] | 54 | android:layout_width="fill_parent" |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 55 | android:layout_height="@dimen/button_bar_height" |
| 56 | android:layout_gravity="bottom|center_horizontal" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 57 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 58 | android:focusable="true" |
| 59 | android:clickable="true" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 60 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 61 | android:scaleType="center" |
| 62 | android:src="@drawable/all_apps_button" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame^] | 63 | launcher:direction="horizontal" |
| 64 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 65 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 66 | <com.android.launcher2.DeleteZone |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 67 | android:id="@+id/delete_zone" |
Joe Onorato | a9c28f6 | 2009-09-14 18:38:49 -0400 | [diff] [blame] | 68 | android:layout_width="fill_parent" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 69 | android:layout_height="49dip" |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 70 | android:layout_gravity="bottom|center_horizontal" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 71 | |
| 72 | android:scaleType="center" |
Joe Onorato | a9c28f6 | 2009-09-14 18:38:49 -0400 | [diff] [blame] | 73 | android:src="@drawable/delete_zone_selector" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 74 | android:visibility="invisible" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame^] | 75 | launcher:direction="horizontal" |
| 76 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 77 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 78 | </com.android.launcher2.DragLayer> |