• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <!-- The workspace contains 5 screens of cells -->
32        <!-- DO NOT CHANGE THE ID -->
33        <com.android.launcher3.Workspace
34            android:id="@+id/workspace"
35            android:layout_width="match_parent"
36            android:layout_height="match_parent"
37            android:layout_gravity="center"
38            android:theme="@style/HomeScreenElementTheme"
39            launcher:pageIndicator="@+id/page_indicator" />
40
41        <include
42            android:id="@+id/overview_panel_container"
43            layout="@layout/overview_panel"
44            android:visibility="gone" />
45
46        <!-- Keep these behind the workspace so that they are not visible when
47         we go into AllApps -->
48        <com.android.launcher3.pageindicators.WorkspacePageIndicator
49            android:id="@+id/page_indicator"
50            android:layout_width="match_parent"
51            android:layout_height="4dp"
52            android:layout_gravity="bottom|center_horizontal"
53            android:theme="@style/HomeScreenElementTheme" />
54
55        <include
56            android:id="@+id/drop_target_bar"
57            layout="@layout/drop_target_bar" />
58
59        <include android:id="@+id/scrim_view"
60            layout="@layout/scrim_view" />
61
62        <include
63            android:id="@+id/apps_view"
64            layout="@layout/all_apps"
65            android:layout_width="match_parent"
66            android:layout_height="match_parent"
67            android:visibility="invisible" />
68
69        <!-- DO NOT CHANGE THE ID -->
70        <include
71            android:id="@+id/hotseat"
72            layout="@layout/hotseat"
73            android:layout_width="match_parent"
74            android:layout_height="match_parent" />
75    </com.android.launcher3.dragndrop.DragLayer>
76
77</com.android.launcher3.LauncherRootView>
78