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
17<!-- Full screen view projects under the status bar and contains the background -->
18<com.android.launcher3.LauncherRootView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:launcher="http://schemas.android.com/apk/res-auto"
21
22    android:id="@+id/launcher"
23    android:layout_width="match_parent"
24    android:layout_height="match_parent"
25    android:fitsSystemWindows="true">
26
27    <com.android.launcher3.dragndrop.DragLayer
28        android:id="@+id/drag_layer"
29        android:clipChildren="false"
30        android:importantForAccessibility="no"
31        android:clipToPadding="false"
32        android:background="@drawable/workspace_bg"
33        android:layout_width="match_parent"
34        android:layout_height="match_parent">
35
36        <!-- The workspace contains 5 screens of cells -->
37        <!-- DO NOT CHANGE THE ID -->
38        <com.android.launcher3.Workspace
39            android:id="@+id/workspace"
40            android:layout_width="match_parent"
41            android:layout_height="match_parent"
42            android:layout_gravity="center"
43            launcher:pageIndicator="@+id/page_indicator">
44        </com.android.launcher3.Workspace>
45
46        <!-- DO NOT CHANGE THE ID -->
47        <include layout="@layout/hotseat"
48            android:id="@+id/hotseat"
49            android:layout_width="match_parent"
50            android:layout_height="match_parent"
51            launcher:layout_ignoreInsets="true" />
52
53        <include layout="@layout/overview_panel"
54            android:id="@+id/overview_panel"
55            android:visibility="gone" />
56
57        <!-- Keep these behind the workspace so that they are not visible when
58             we go into AllApps -->
59        <include layout="@layout/page_indicator"
60            android:id="@+id/page_indicator" />
61
62        <include
63            android:id="@+id/drop_target_bar"
64            layout="@layout/drop_target_bar_horz" />
65
66        <include
67            layout="@layout/qsb_container"
68            android:id="@+id/qsb_container" />
69
70        <include layout="@layout/widgets_view"
71            android:id="@+id/widgets_view"
72            android:layout_width="match_parent"
73            android:layout_height="match_parent"
74            android:visibility="invisible" />
75
76        <include layout="@layout/all_apps"
77            android:id="@+id/apps_view"
78            android:layout_width="match_parent"
79            android:layout_height="match_parent"
80            android:visibility="invisible" />
81    </com.android.launcher3.dragndrop.DragLayer>
82
83</com.android.launcher3.LauncherRootView>
84