blob: c71d131904ce379dcff9d38dd212c28f21a531cd [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"
Winson Chung97d85d22011-04-13 11:27:36 -070023 android:layout_height="match_parent"
24 android:focusable="false">
Michael Jurkaaf442092010-06-10 17:01:57 -070025
Michael Jurkaaf442092010-06-10 17:01:57 -070026 <!-- The workspace contains 5 screens of cells -->
27 <com.android.launcher2.Workspace
28 android:id="@+id/workspace"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
Adam Powell201058d2010-09-09 17:57:26 -070031 android:paddingTop="?android:attr/actionBarSize"
Adam Lesinski6b879f02010-11-04 16:15:23 -070032 android:paddingBottom="10dp"
Michael Jurka54dd7542010-07-30 14:47:52 -070033 launcher:defaultScreen="2"
Adam Cohend22015c2010-07-26 22:02:18 -070034 launcher:cellCountX="8"
Adam Cohen9c4949e2010-10-05 12:27:22 -070035 launcher:cellCountY="7"
Michael Jurka3c38d562011-02-18 19:22:12 -080036 launcher:pageSpacing="@dimen/workspace_page_spacing">
Michael Jurkaaf442092010-06-10 17:01:57 -070037
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 <include android:id="@+id/cell4" layout="@layout/workspace_screen" />
42 <include android:id="@+id/cell5" layout="@layout/workspace_screen" />
Michael Jurkaaf442092010-06-10 17:01:57 -070043 </com.android.launcher2.Workspace>
44
Winson Chung97d85d22011-04-13 11:27:36 -070045 <include layout="@layout/button_bar"
46 android:id="@+id/all_apps_button_cluster"
47 android:layout_width="fill_parent"
48 android:layout_height="?android:attr/actionBarSize"
49 android:layout_gravity="top" />
50
Adam Lesinski6b879f02010-11-04 16:15:23 -070051 <include
52 layout="@layout/all_apps_tabbed"
53 android:id="@+id/all_apps_view"
54 android:layout_width="match_parent"
55 android:layout_height="match_parent"
56 android:layout_gravity="top" />
57
Michael Jurka9c6fbed2011-03-02 17:41:34 -080058 <include layout="@layout/customization_drawer"
Winson Chung88127032010-12-13 12:11:33 -080059 android:id="@+id/customization_drawer"
Michael Jurkaaf442092010-06-10 17:01:57 -070060 android:layout_width="match_parent"
Michael Jurka3c38d562011-02-18 19:22:12 -080061 android:layout_height="@dimen/customization_drawer_height"
Michael Jurka9c6fbed2011-03-02 17:41:34 -080062 android:layout_gravity="bottom" />
Michael Jurkaaf442092010-06-10 17:01:57 -070063</com.android.launcher2.DragLayer>