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    android:id="@+id/launcher"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:fitsSystemWindows="true">
25
26    <com.android.launcher3.dragndrop.DragLayer
27        android:id="@+id/drag_layer"
28        android:clipChildren="false"
29        android:clipToPadding="false"
30        android:background="@drawable/workspace_bg"
31        android:importantForAccessibility="no"
32        android:layout_width="match_parent"
33        android:layout_height="match_parent">
34
35        <!-- The workspace contains 5 screens of cells -->
36        <!-- DO NOT CHANGE THE ID -->
37        <com.android.launcher3.Workspace
38            android:id="@+id/workspace"
39            android:layout_width="match_parent"
40            android:layout_height="match_parent"
41            android:layout_gravity="center"
42            launcher:pageIndicator="@id/page_indicator" />
43
44        <!-- DO NOT CHANGE THE ID -->
45        <include layout="@layout/hotseat"
46            android:id="@+id/hotseat"
47            android:layout_width="match_parent"
48            android:layout_height="match_parent"
49            android:layout_gravity="right"
50            launcher:layout_ignoreInsets="true" />
51
52        <include
53            android:id="@+id/drop_target_bar"
54            layout="@layout/drop_target_bar_vert" />
55
56        <include layout="@layout/overview_panel"
57            android:id="@+id/overview_panel"
58            android:visibility="gone" />
59
60        <com.android.launcher3.pageindicators.PageIndicatorCaretLandscape
61            android:id="@+id/page_indicator"
62            android:layout_width="@dimen/dynamic_grid_page_indicator_height"
63            android:layout_height="@dimen/dynamic_grid_page_indicator_height"
64            android:layout_gravity="bottom|left"/>
65
66        <!-- A place holder view instead of the QSB in transposed layout -->
67        <View
68            android:layout_width="0dp"
69            android:layout_height="10dp"
70            android:id="@+id/workspace_blocked_row" />
71
72        <include layout="@layout/widgets_view"
73            android:id="@+id/widgets_view"
74            android:layout_width="match_parent"
75            android:layout_height="match_parent"
76            android:visibility="invisible" />
77
78        <include layout="@layout/all_apps"
79            android:id="@+id/apps_view"
80            android:layout_width="match_parent"
81            android:layout_height="match_parent"
82            android:visibility="invisible" />
83
84    </com.android.launcher3.dragndrop.DragLayer>
85
86</com.android.launcher3.LauncherRootView>
87