blob: acf62f906fb5c0997a6d2edeed5121540c966aad [file] [log] [blame]
Michael Jurkaaf442092010-06-10 17:01:57 -07001<?xml version="1.0" encoding="utf-8"?>
Patrick Dubroydea9e932010-09-22 15:04:29 -07002<!-- Copyright (C) 2010 The Android Open Source Project
Michael Jurkaaf442092010-06-10 17:01:57 -07003
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<com.android.launcher2.DragLayer
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
20
21 android:id="@+id/drag_layer"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent">
24
Michael Jurkaaf442092010-06-10 17:01:57 -070025 <!-- The workspace contains 5 screens of cells -->
26 <com.android.launcher2.Workspace
27 android:id="@+id/workspace"
28 android:layout_width="match_parent"
29 android:layout_height="match_parent"
Adam Powell201058d2010-09-09 17:57:26 -070030 android:paddingTop="?android:attr/actionBarSize"
Adam Lesinski6b879f02010-11-04 16:15:23 -070031 android:paddingBottom="10dp"
Michael Jurka54dd7542010-07-30 14:47:52 -070032 launcher:defaultScreen="2"
Adam Cohend22015c2010-07-26 22:02:18 -070033 launcher:cellCountX="8"
Adam Cohen9c4949e2010-10-05 12:27:22 -070034 launcher:cellCountY="7"
Michael Jurka3c38d562011-02-18 19:22:12 -080035 launcher:pageSpacing="@dimen/workspace_page_spacing">
Michael Jurkaaf442092010-06-10 17:01:57 -070036
37 <include android:id="@+id/cell1" layout="@layout/workspace_screen" />
38 <include android:id="@+id/cell2" layout="@layout/workspace_screen" />
39 <include android:id="@+id/cell3" layout="@layout/workspace_screen" />
40 <include android:id="@+id/cell4" layout="@layout/workspace_screen" />
41 <include android:id="@+id/cell5" layout="@layout/workspace_screen" />
Michael Jurkaaf442092010-06-10 17:01:57 -070042 </com.android.launcher2.Workspace>
43
Adam Lesinski6b879f02010-11-04 16:15:23 -070044 <include
45 layout="@layout/all_apps_tabbed"
46 android:id="@+id/all_apps_view"
47 android:layout_width="match_parent"
48 android:layout_height="match_parent"
49 android:layout_gravity="top" />
50
Michael Jurka9c6fbed2011-03-02 17:41:34 -080051 <include layout="@layout/button_bar"
Michael Jurkaaf442092010-06-10 17:01:57 -070052 android:id="@+id/all_apps_button_cluster"
Patrick Dubroy6b509c12010-08-23 15:08:16 -070053 android:layout_width="fill_parent"
Adam Powell201058d2010-09-09 17:57:26 -070054 android:layout_height="?android:attr/actionBarSize"
Michael Jurka9c6fbed2011-03-02 17:41:34 -080055 android:layout_gravity="top" />
Patrick Dubroy6b509c12010-08-23 15:08:16 -070056
Michael Jurka9c6fbed2011-03-02 17:41:34 -080057 <include layout="@layout/customization_drawer"
Winson Chung88127032010-12-13 12:11:33 -080058 android:id="@+id/customization_drawer"
Michael Jurkaaf442092010-06-10 17:01:57 -070059 android:layout_width="match_parent"
Michael Jurka3c38d562011-02-18 19:22:12 -080060 android:layout_height="@dimen/customization_drawer_height"
Michael Jurka9c6fbed2011-03-02 17:41:34 -080061 android:layout_gravity="bottom" />
Michael Jurkaaf442092010-06-10 17:01:57 -070062</com.android.launcher2.DragLayer>