1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2007 The Android Open Source Project
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7          http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15<com.android.launcher3.LauncherRootView
16    xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:launcher="http://schemas.android.com/apk/res-auto"
18    android:id="@+id/launcher"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:fitsSystemWindows="true">
22
23    <com.android.launcher3.dragndrop.DragLayer
24        android:id="@+id/drag_layer"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:clipChildren="false"
28        android:clipToPadding="false"
29        android:importantForAccessibility="no">
30
31        <com.android.launcher3.views.AccessibilityActionsView
32            android:layout_width="match_parent"
33            android:layout_height="match_parent"
34            android:contentDescription="@string/home_screen"
35            />
36
37        <!-- The workspace contains 5 screens of cells -->
38        <!-- DO NOT CHANGE THE ID -->
39        <com.android.launcher3.Workspace
40            android:id="@+id/workspace"
41            android:layout_width="match_parent"
42            android:layout_height="match_parent"
43            android:layout_gravity="center"
44            android:theme="@style/HomeScreenElementTheme"
45            launcher:pageIndicator="@+id/page_indicator" />
46
47        <!-- DO NOT CHANGE THE ID -->
48        <include
49            android:id="@+id/hotseat"
50            layout="@layout/hotseat" />
51
52        <!-- Keep these behind the workspace so that they are not visible when
53         we go into AllApps -->
54        <com.android.launcher3.pageindicators.WorkspacePageIndicator
55            android:id="@+id/page_indicator"
56            android:layout_width="match_parent"
57            android:layout_height="@dimen/workspace_page_indicator_height"
58            android:layout_gravity="bottom|center_horizontal"
59            android:theme="@style/HomeScreenElementTheme" />
60
61        <include
62            android:id="@+id/drop_target_bar"
63            layout="@layout/drop_target_bar" />
64
65        <com.android.launcher3.views.ScrimView
66            android:layout_width="match_parent"
67            android:layout_height="match_parent"
68            android:id="@+id/scrim_view"
69            android:background="@android:color/transparent" />
70
71        <include
72            android:id="@+id/overview_panel"
73            layout="@layout/overview_panel" />
74
75        <include
76            android:id="@+id/apps_view"
77            layout="@layout/all_apps"
78            android:layout_width="match_parent"
79            android:layout_height="match_parent" />
80
81    </com.android.launcher3.dragndrop.DragLayer>
82
83</com.android.launcher3.LauncherRootView>
84