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 22 android:id="@+id/launcher" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:fitsSystemWindows="true"> 26 27 <com.android.launcher3.DragLayer 28 android:id="@+id/drag_layer" 29 android:clipChildren="false" 30 android:clipToPadding="false" 31 android:layout_width="match_parent" 32 android:layout_height="match_parent"> 33 34 <com.android.launcher3.FocusIndicatorView 35 android:id="@+id/focus_indicator" 36 android:layout_width="52dp" 37 android:layout_height="52dp" /> 38 39 <!-- The workspace contains 5 screens of cells --> 40 <!-- DO NOT CHANGE THE ID --> 41 <com.android.launcher3.Workspace 42 android:id="@+id/workspace" 43 android:layout_width="match_parent" 44 android:layout_height="match_parent" 45 launcher:defaultScreen="@integer/config_workspaceDefaultScreen" 46 launcher:pageIndicator="@+id/page_indicator"> 47 </com.android.launcher3.Workspace> 48 49 <!-- DO NOT CHANGE THE ID --> 50 <include layout="@layout/hotseat" 51 android:id="@+id/hotseat" 52 android:layout_width="match_parent" 53 android:layout_height="match_parent" /> 54 55 <include layout="@layout/overview_panel" 56 android:id="@+id/overview_panel" 57 android:visibility="gone" /> 58 59 <!-- Keep these behind the workspace so that they are not visible when 60 we go into AllApps --> 61 <include 62 android:id="@+id/page_indicator" 63 layout="@layout/page_indicator" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:layout_gravity="center_horizontal" /> 67 68 <include 69 android:id="@+id/search_drop_target_bar" 70 layout="@layout/search_drop_target_bar" /> 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 </com.android.launcher3.DragLayer> 84 85 </com.android.launcher3.LauncherRootView> 86