blob: adf45979a83aafebe14e29d52f9373bbf4383595 [file] [log] [blame]
Sunny Goyalcfb630f2018-01-22 14:37:09 -08001<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2007 The Android Open Source Project
Michael Jurkaaf442092010-06-10 17:01:57 -07002
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-->
Adam Cohena6d04922014-10-23 17:28:30 -070015<com.android.launcher3.LauncherRootView
Winson Chung6fa610d2012-02-24 15:53:17 -080016 xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyalb9f261f2014-11-03 11:39:27 -080017 xmlns:launcher="http://schemas.android.com/apk/res-auto"
Craig Mautner360310b2012-10-26 15:13:08 -070018 android:id="@+id/launcher"
Michael Jurkaaf442092010-06-10 17:01:57 -070019 android:layout_width="match_parent"
Craig Mautner360310b2012-10-26 15:13:08 -070020 android:layout_height="match_parent"
Adam Cohena6d04922014-10-23 17:28:30 -070021 android:fitsSystemWindows="true">
Michael Jurkaaf442092010-06-10 17:01:57 -070022
Vadim Tryshevfedca432015-08-19 17:55:02 -070023 <com.android.launcher3.dragndrop.DragLayer
Craig Mautner360310b2012-10-26 15:13:08 -070024 android:id="@+id/drag_layer"
Sunny Goyalcfb630f2018-01-22 14:37:09 -080025 android:layout_width="match_parent"
26 android:layout_height="match_parent"
Sunny Goyal0ac7ede2016-01-29 13:14:14 -080027 android:clipChildren="false"
28 android:clipToPadding="false"
Sunny Goyalcfb630f2018-01-22 14:37:09 -080029 android:importantForAccessibility="no">
Michael Jurkaaf442092010-06-10 17:01:57 -070030
Sunny Goyal52e25452020-07-20 12:38:01 -070031 <com.android.launcher3.views.AccessibilityActionsView
Sihua Ma2bad4022025-01-02 23:58:49 +000032 android:id="@+id/accessibility_action_view"
Sunny Goyal52e25452020-07-20 12:38:01 -070033 android:layout_width="match_parent"
34 android:layout_height="match_parent"
35 android:contentDescription="@string/home_screen"
36 />
37
Craig Mautner360310b2012-10-26 15:13:08 -070038 <!-- The workspace contains 5 screens of cells -->
Hyunyoung Song60331a92015-06-18 15:05:56 -070039 <!-- DO NOT CHANGE THE ID -->
Daniel Sandler325dc232013-06-05 22:57:57 -040040 <com.android.launcher3.Workspace
Craig Mautner360310b2012-10-26 15:13:08 -070041 android:id="@+id/workspace"
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
Sunny Goyalcfb630f2018-01-22 14:37:09 -080044 android:layout_gravity="center"
45 android:theme="@style/HomeScreenElementTheme"
46 launcher:pageIndicator="@+id/page_indicator" />
Winson Chung97d85d22011-04-13 11:27:36 -070047
Tony4bb4b892019-03-03 15:32:12 -080048 <!-- DO NOT CHANGE THE ID -->
Sunny Goyal4cd79872019-05-02 16:30:25 -070049 <include
Tony4bb4b892019-03-03 15:32:12 -080050 android:id="@+id/hotseat"
Sunny Goyal4cd79872019-05-02 16:30:25 -070051 layout="@layout/hotseat" />
Tony4bb4b892019-03-03 15:32:12 -080052
Sunny Goyalcfb630f2018-01-22 14:37:09 -080053 <!-- Keep these behind the workspace so that they are not visible when
54 we go into AllApps -->
Sunny Goyal42becd02024-08-27 12:22:38 -070055 <com.android.launcher3.pageindicators.PageIndicatorDots
Sunny Goyalcfb630f2018-01-22 14:37:09 -080056 android:id="@+id/page_indicator"
57 android:layout_width="match_parent"
Tony Wickham5edf9e22020-03-27 20:06:52 -070058 android:layout_height="@dimen/workspace_page_indicator_height"
Sunny Goyal81b4c7b2018-03-26 12:10:31 -070059 android:layout_gravity="bottom|center_horizontal"
Sunny Goyalcfb630f2018-01-22 14:37:09 -080060 android:theme="@style/HomeScreenElementTheme" />
61
Craig Mautner360310b2012-10-26 15:13:08 -070062 <include
Sunny Goyal47328fd2016-05-25 18:56:41 -070063 android:id="@+id/drop_target_bar"
Sunny Goyald1b3f5c2018-01-18 17:14:05 -080064 layout="@layout/drop_target_bar" />
Winson Chungd0160152011-11-15 15:04:42 -080065
Sunny Goyalc82916f2021-04-06 13:03:54 -070066 <com.android.launcher3.views.ScrimView
67 android:layout_width="match_parent"
68 android:layout_height="match_parent"
Sunny Goyal876e4622018-11-02 13:50:40 -070069 android:id="@+id/scrim_view"
Zak Cohen4d35ac32021-04-23 16:28:12 -070070 android:background="@android:color/transparent" />
Sunny Goyal927447e2018-05-04 13:19:29 -070071
Sunny Goyalcfb630f2018-01-22 14:37:09 -080072 <include
Andy Wickham830e4b72023-04-19 07:08:44 -070073 android:id="@+id/overview_panel"
74 layout="@layout/overview_panel" />
75
76 <include
Winson Chungb745afb2015-03-02 11:51:23 -080077 android:id="@+id/apps_view"
Sunny Goyalcfb630f2018-01-22 14:37:09 -080078 layout="@layout/all_apps"
Winson Chungb745afb2015-03-02 11:51:23 -080079 android:layout_width="match_parent"
Sunny Goyal876e4622018-11-02 13:50:40 -070080 android:layout_height="match_parent" />
Sunny Goyal7185dd62018-03-14 17:51:49 -070081
Vadim Tryshevfedca432015-08-19 17:55:02 -070082 </com.android.launcher3.dragndrop.DragLayer>
Adam Cohenc2d6e892014-10-16 09:49:24 -070083
Adam Cohena6d04922014-10-23 17:28:30 -070084</com.android.launcher3.LauncherRootView>