blob: 7e6c659ad3c559135bcc0803026b9101e2713380 [file] [log] [blame]
Michael Jurkaaf442092010-06-10 17:01:57 -07001<?xml version="1.0" encoding="utf-8"?>
Winson Chung0e721a42012-08-02 17:40:30 -07002<!-- Copyright (C) 2007 The Android Open Source Project
Michael Jurkaaf442092010-06-10 17:01:57 -07003
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
Craig Mautner360310b2012-10-26 15:13:08 -070017<!-- Full screen view projects under the status bar and contains the background -->
Adam Cohena6d04922014-10-23 17:28:30 -070018<com.android.launcher3.LauncherRootView
Winson Chung6fa610d2012-02-24 15:53:17 -080019 xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyalb9f261f2014-11-03 11:39:27 -080020 xmlns:launcher="http://schemas.android.com/apk/res-auto"
Craig Mautner360310b2012-10-26 15:13:08 -070021 android:id="@+id/launcher"
Michael Jurkaaf442092010-06-10 17:01:57 -070022 android:layout_width="match_parent"
Craig Mautner360310b2012-10-26 15:13:08 -070023 android:layout_height="match_parent"
Adam Cohena6d04922014-10-23 17:28:30 -070024 android:fitsSystemWindows="true">
Michael Jurkaaf442092010-06-10 17:01:57 -070025
Vadim Tryshevfedca432015-08-19 17:55:02 -070026 <com.android.launcher3.dragndrop.DragLayer
Craig Mautner360310b2012-10-26 15:13:08 -070027 android:id="@+id/drag_layer"
Sunny Goyal0ac7ede2016-01-29 13:14:14 -080028 android:clipChildren="false"
29 android:clipToPadding="false"
Sunny Goyal4829a882016-08-04 17:55:35 -070030 android:importantForAccessibility="no"
Mario Bertschlera6936942017-05-31 14:48:19 -070031 android:background="?attr/workspaceStatusBarScrim"
Michael Jurkaaf442092010-06-10 17:01:57 -070032 android:layout_width="match_parent"
Adam Cohena6d04922014-10-23 17:28:30 -070033 android:layout_height="match_parent">
Michael Jurkaaf442092010-06-10 17:01:57 -070034
Craig Mautner360310b2012-10-26 15:13:08 -070035 <!-- The workspace contains 5 screens of cells -->
Hyunyoung Song60331a92015-06-18 15:05:56 -070036 <!-- DO NOT CHANGE THE ID -->
Daniel Sandler325dc232013-06-05 22:57:57 -040037 <com.android.launcher3.Workspace
Sunny Goyal9b29ca52017-02-17 10:39:44 -080038 android:theme="@style/HomeScreenElementTheme"
Sunny Goyal6178f132016-07-11 17:30:03 -070039 android:layout_gravity="center"
Craig Mautner360310b2012-10-26 15:13:08 -070040 android:id="@+id/workspace"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
Winson Chung5f8afe62013-08-12 16:19:28 -070043 launcher:pageIndicator="@id/page_indicator">
Daniel Sandler325dc232013-06-05 22:57:57 -040044 </com.android.launcher3.Workspace>
Winson Chung97d85d22011-04-13 11:27:36 -070045
Sunny Goyale15e2a82017-12-15 13:05:42 -080046 <include layout="@layout/overview_panel"
47 android:id="@+id/overview_panel"
48 android:visibility="gone" />
49
Sunny Goyalb532dfe2017-12-13 17:16:54 -080050 <com.android.launcher3.views.AllAppsScrim
51 android:layout_width="match_parent"
52 android:layout_height="match_parent"
Sunny Goyal228153d2018-01-04 15:35:22 -080053 android:id="@+id/all_apps_scrim" />
Mario Bertschler8acf8b52017-05-11 10:45:20 -070054
Hyunyoung Song60331a92015-06-18 15:05:56 -070055 <!-- DO NOT CHANGE THE ID -->
Craig Mautner360310b2012-10-26 15:13:08 -070056 <include layout="@layout/hotseat"
57 android:id="@+id/hotseat"
58 android:layout_width="match_parent"
Sunny Goyal07b69292018-01-08 14:19:34 -080059 android:layout_height="match_parent" />
Winson Chung82f55532011-08-09 14:14:23 -070060
Craig Mautner360310b2012-10-26 15:13:08 -070061 <include
Sunny Goyal47328fd2016-05-25 18:56:41 -070062 android:id="@+id/drop_target_bar"
63 layout="@layout/drop_target_bar_horz" />
Winson Chungd0160152011-11-15 15:04:42 -080064
Adam Cohenf358a4b2013-07-23 16:47:31 -070065 <!-- Keep these behind the workspace so that they are not visible when
66 we go into AllApps -->
Hyunyoung Song016eaee2016-09-07 14:45:09 -070067 <include layout="@layout/page_indicator"
68 android:id="@+id/page_indicator" />
Adam Cohenf358a4b2013-07-23 16:47:31 -070069
Winson Chung5f4e0fd2015-05-22 11:12:27 -070070 <include layout="@layout/all_apps"
Winson Chungb745afb2015-03-02 11:51:23 -080071 android:id="@+id/apps_view"
72 android:layout_width="match_parent"
73 android:layout_height="match_parent"
Jon Mirandaaca21452016-09-26 14:01:56 -070074 android:visibility="invisible" />
Vadim Tryshevfedca432015-08-19 17:55:02 -070075 </com.android.launcher3.dragndrop.DragLayer>
Adam Cohenc2d6e892014-10-16 09:49:24 -070076
Adam Cohena6d04922014-10-23 17:28:30 -070077</com.android.launcher3.LauncherRootView>