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 <FrameLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" 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 27 <com.android.launcher3.DragLayer 28 android:id="@+id/drag_layer" 29 android:layout_width="match_parent" 30 android:layout_height="match_parent" 31 android:fitsSystemWindows="true"> 32 33 <!-- The workspace contains 5 screens of cells --> 34 <com.android.launcher3.Workspace 35 android:id="@+id/workspace" 36 android:layout_width="match_parent" 37 android:layout_height="match_parent" 38 android:layout_gravity="center" 39 launcher:defaultScreen="@integer/config_workspaceDefaultScreen" 40 launcher:pageSpacing="@dimen/workspace_page_spacing" 41 launcher:pageIndicator="@id/page_indicator" /> 42 43 <include layout="@layout/hotseat" 44 android:id="@+id/hotseat" 45 android:layout_width="match_parent" 46 android:layout_height="match_parent" 47 android:layout_gravity="end" /> 48 49 <include 50 android:id="@+id/qsb_bar" 51 layout="@layout/qsb_bar" /> 52 53 <include layout="@layout/overview_panel" 54 android:id="@+id/overview_panel" 55 android:visibility="gone" /> 56 57 <!-- The Workspace cling must appear under the AppsCustomizePagedView below to ensure 58 that it is still visible during the transition to AllApps and doesn't overlay on 59 top of that view. --> 60 <com.android.launcher3.ScrimView 61 android:id="@+id/cling_scrim" 62 android:layout_width="match_parent" 63 android:layout_height="match_parent" 64 android:visibility="gone" /> 65 <include layout="@layout/first_run_cling" 66 android:id="@+id/first_run_cling" 67 android:layout_width="match_parent" 68 android:layout_height="match_parent" 69 android:visibility="gone" /> 70 <include layout="@layout/workspace_cling" 71 android:id="@+id/workspace_cling" 72 android:layout_width="match_parent" 73 android:layout_height="match_parent" 74 android:visibility="gone" /> 75 76 <include layout="@layout/folder_cling" 77 android:id="@+id/folder_cling" 78 android:layout_width="match_parent" 79 android:layout_height="match_parent" 80 android:visibility="gone" /> 81 82 <!-- TODO: Fix 83 <com.android.launcher3.DrawableStateProxyView 84 android:id="@+id/voice_button_proxy" 85 android:layout_width="0dp" 86 android:layout_height="0dp" 87 android:layout_gravity="top|start" 88 android:layout_marginTop="64dp" 89 android:clickable="true" 90 android:onClick="onClickVoiceButton" 91 android:importantForAccessibility="no" 92 launcher:sourceViewId="@+id/voice_button" /> 93 --> 94 95 <include layout="@layout/apps_customize_pane" 96 android:id="@+id/apps_customize_pane" 97 android:layout_width="match_parent" 98 android:layout_height="match_parent" 99 android:visibility="invisible" /> 100 </com.android.launcher3.DragLayer> 101 </FrameLayout> 102