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:id="@+id/accessibility_action_view" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent" 35 android:contentDescription="@string/home_screen" 36 /> 37 38 <!-- The workspace contains 5 screens of cells --> 39 <!-- DO NOT CHANGE THE ID --> 40 <com.android.launcher3.Workspace 41 android:id="@+id/workspace" 42 android:layout_width="match_parent" 43 android:layout_height="match_parent" 44 android:layout_gravity="center" 45 android:theme="@style/HomeScreenElementTheme" 46 launcher:pageIndicator="@+id/page_indicator" /> 47 48 <!-- DO NOT CHANGE THE ID --> 49 <include 50 android:id="@+id/hotseat" 51 layout="@layout/hotseat" /> 52 53 <!-- Keep these behind the workspace so that they are not visible when 54 we go into AllApps --> 55 <com.android.launcher3.pageindicators.PageIndicatorDots 56 android:id="@+id/page_indicator" 57 android:layout_width="match_parent" 58 android:layout_height="@dimen/workspace_page_indicator_height" 59 android:layout_gravity="bottom|center_horizontal" 60 android:theme="@style/HomeScreenElementTheme" /> 61 62 <include 63 android:id="@+id/drop_target_bar" 64 layout="@layout/drop_target_bar" /> 65 66 <com.android.launcher3.views.ScrimView 67 android:layout_width="match_parent" 68 android:layout_height="match_parent" 69 android:id="@+id/scrim_view" 70 android:background="@android:color/transparent" /> 71 72 <include 73 android:id="@+id/overview_panel" 74 layout="@layout/overview_panel" /> 75 76 <include 77 android:id="@+id/apps_view" 78 layout="@layout/all_apps" 79 android:layout_width="match_parent" 80 android:layout_height="match_parent" /> 81 82 </com.android.launcher3.dragndrop.DragLayer> 83 84</com.android.launcher3.LauncherRootView> 85