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 | a590252 | 2009-07-30 13:37:37 -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 | |
| 21 | android:id="@+id/drag_layer" |
| 22 | android:layout_width="fill_parent" |
| 23 | android:layout_height="fill_parent"> |
| 24 | |
Joe Onorato | 5979117 | 2009-07-31 16:21:40 -0700 | [diff] [blame^] | 25 | <com.android.launcher2.WallpaperView |
| 26 | android:id="@+id/wallpaper" |
| 27 | android:layout_width="fill_parent" |
| 28 | android:layout_height="fill_parent" /> |
| 29 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 30 | <!-- The workspace contains 3 screens of cells --> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 31 | <com.android.launcher2.Workspace |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 32 | android:id="@+id/workspace" |
| 33 | android:layout_width="fill_parent" |
| 34 | android:layout_height="fill_parent" |
| 35 | |
| 36 | launcher:defaultScreen="1"> |
| 37 | |
| 38 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 39 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 40 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
| 41 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 42 | </com.android.launcher2.Workspace> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 43 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 44 | <com.android.launcher2.HandleView |
| 45 | android:id="@id/all_apps" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 46 | android:layout_width="fill_parent" |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 47 | android:layout_height="56dip" |
| 48 | android:layout_gravity="bottom" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 49 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 50 | android:background="@drawable/handle" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 51 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 52 | android:focusable="true" |
| 53 | android:clickable="true" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 54 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 55 | android:scaleType="center" |
| 56 | android:src="@drawable/handle_icon" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 57 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 58 | launcher:direction="horizontal" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 59 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 60 | <com.android.launcher2.DeleteZone |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 61 | android:id="@+id/delete_zone" |
| 62 | android:layout_width="wrap_content" |
| 63 | android:layout_height="49dip" |
| 64 | |
| 65 | android:scaleType="center" |
| 66 | android:src="@drawable/ic_delete" |
| 67 | android:background="@drawable/delete_zone_selector" |
| 68 | |
| 69 | android:layout_gravity="bottom|center_horizontal" |
| 70 | android:visibility="invisible" |
| 71 | |
| 72 | launcher:direction="horizontal" /> |
| 73 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 74 | </com.android.launcher2.DragLayer> |