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 <!-- DO NOT CHANGE THE ID --> 42 <include 43 android:id="@+id/hotseat" 44 layout="@layout/hotseat" /> 45 46 <include 47 android:id="@+id/overview_panel" 48 layout="@layout/overview_panel" /> 49 50 51 <!-- Keep these behind the workspace so that they are not visible when 52 we go into AllApps --> 53 <com.android.launcher3.pageindicators.WorkspacePageIndicator 54 android:id="@+id/page_indicator" 55 android:layout_width="match_parent" 56 android:layout_height="@dimen/workspace_page_indicator_height" 57 android:layout_gravity="bottom|center_horizontal" 58 android:theme="@style/HomeScreenElementTheme" /> 59 60 <include 61 android:id="@+id/drop_target_bar" 62 layout="@layout/drop_target_bar" /> 63 64 <include 65 android:id="@+id/scrim_view" 66 layout="@layout/scrim_view" /> 67 68 <include 69 android:id="@+id/apps_view" 70 layout="@layout/all_apps" 71 android:layout_width="match_parent" 72 android:layout_height="match_parent" /> 73 74 </com.android.launcher3.dragndrop.DragLayer> 75 76</com.android.launcher3.LauncherRootView> 77