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:background="@drawable/workspace_bg" 26 android:fitsSystemWindows="true"> 27 28 <com.android.launcher3.DragLayer 29 android:id="@+id/drag_layer" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent"> 32 33 <com.android.launcher3.FocusIndicatorView 34 android:id="@+id/focus_indicator" 35 android:layout_width="52dp" 36 android:layout_height="52dp" /> 37 38 <!-- The workspace contains 5 screens of cells --> 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 launcher:defaultScreen="@integer/config_workspaceDefaultScreen" /> 45 46 <include layout="@layout/hotseat" 47 android:id="@+id/hotseat" 48 android:layout_width="match_parent" 49 android:layout_height="match_parent" 50 android:layout_gravity="end" /> 51 52 <include 53 android:id="@+id/search_drop_target_bar" 54 layout="@layout/search_drop_target_bar" /> 55 56 <include layout="@layout/overview_panel" 57 android:id="@+id/overview_panel" 58 android:visibility="gone" /> 59 60 <include layout="@layout/apps_customize_pane" 61 android:id="@+id/apps_customize_pane" 62 android:layout_width="match_parent" 63 android:layout_height="match_parent" 64 android:visibility="invisible" /> 65 </com.android.launcher3.DragLayer> 66 67 <ViewStub 68 android:id="@+id/launcher_overlay_stub" 69 android:layout_width="match_parent" 70 android:layout_height="match_parent" 71 android:inflatedId="@+id/launcher_overlay" 72 android:layout="@layout/launcher_overlay" /> 73 </com.android.launcher3.LauncherRootView> 74