blob: 462fe529674556388ae31a7058afc9a6b3ac9674 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?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 Onoratoa5902522009-07-30 13:37:37 -070017<com.android.launcher2.DragLayer
The Android Open Source Project31dd5032009-03-03 19:32:27 -080018 xmlns:android="http://schemas.android.com/apk/res/android"
Joe Onoratoa5902522009-07-30 13:37:37 -070019 xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080020
21 android:id="@+id/drag_layer"
22 android:layout_width="fill_parent"
23 android:layout_height="fill_parent">
24
Joe Onorato59791172009-07-31 16:21:40 -070025 <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 Project31dd5032009-03-03 19:32:27 -080030 <!-- The workspace contains 3 screens of cells -->
Joe Onoratoa5902522009-07-30 13:37:37 -070031 <com.android.launcher2.Workspace
The Android Open Source Project31dd5032009-03-03 19:32:27 -080032 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 Onoratoa5902522009-07-30 13:37:37 -070042 </com.android.launcher2.Workspace>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080043
Joe Onorato7404ee42009-07-31 11:54:44 -070044 <com.android.launcher2.HandleView
45 android:id="@id/all_apps"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080046 android:layout_width="fill_parent"
Joe Onorato7404ee42009-07-31 11:54:44 -070047 android:layout_height="56dip"
48 android:layout_gravity="bottom"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080049
Joe Onorato7404ee42009-07-31 11:54:44 -070050 android:background="@drawable/handle"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080051
Joe Onorato7404ee42009-07-31 11:54:44 -070052 android:focusable="true"
53 android:clickable="true"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080054
Joe Onorato7404ee42009-07-31 11:54:44 -070055 android:scaleType="center"
56 android:src="@drawable/handle_icon"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080057
Joe Onorato7404ee42009-07-31 11:54:44 -070058 launcher:direction="horizontal" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080059
Joe Onoratoa5902522009-07-30 13:37:37 -070060 <com.android.launcher2.DeleteZone
The Android Open Source Project31dd5032009-03-03 19:32:27 -080061 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 Onoratoa5902522009-07-30 13:37:37 -070074</com.android.launcher2.DragLayer>