Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2007 The Android Open Source Project |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 2 | |
| 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 Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 15 | <com.android.launcher3.LauncherRootView |
Winson Chung | 6fa610d | 2012-02-24 15:53:17 -0800 | [diff] [blame] | 16 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Goyal | b9f261f | 2014-11-03 11:39:27 -0800 | [diff] [blame] | 17 | xmlns:launcher="http://schemas.android.com/apk/res-auto" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 18 | android:id="@+id/launcher" |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent" |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 21 | android:fitsSystemWindows="true"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 22 | |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 23 | <com.android.launcher3.dragndrop.DragLayer |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 24 | android:id="@+id/drag_layer" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 27 | android:clipChildren="false" |
| 28 | android:clipToPadding="false" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 29 | android:importantForAccessibility="no"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 30 | |
Sunny Goyal | 52e2545 | 2020-07-20 12:38:01 -0700 | [diff] [blame] | 31 | <com.android.launcher3.views.AccessibilityActionsView |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
| 34 | android:contentDescription="@string/home_screen" |
| 35 | /> |
| 36 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 37 | <!-- The workspace contains 5 screens of cells --> |
Hyunyoung Song | 60331a9 | 2015-06-18 15:05:56 -0700 | [diff] [blame] | 38 | <!-- DO NOT CHANGE THE ID --> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 39 | <com.android.launcher3.Workspace |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 40 | android:id="@+id/workspace" |
| 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="match_parent" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 43 | android:layout_gravity="center" |
| 44 | android:theme="@style/HomeScreenElementTheme" |
| 45 | launcher:pageIndicator="@+id/page_indicator" /> |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame] | 46 | |
Tony | 4bb4b89 | 2019-03-03 15:32:12 -0800 | [diff] [blame] | 47 | <!-- DO NOT CHANGE THE ID --> |
Sunny Goyal | 4cd7987 | 2019-05-02 16:30:25 -0700 | [diff] [blame] | 48 | <include |
Tony | 4bb4b89 | 2019-03-03 15:32:12 -0800 | [diff] [blame] | 49 | android:id="@+id/hotseat" |
Sunny Goyal | 4cd7987 | 2019-05-02 16:30:25 -0700 | [diff] [blame] | 50 | layout="@layout/hotseat" /> |
Tony | 4bb4b89 | 2019-03-03 15:32:12 -0800 | [diff] [blame] | 51 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 52 | <include |
Sreyas | 321bfae | 2020-02-21 17:53:02 -0800 | [diff] [blame] | 53 | android:id="@+id/overview_panel" |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 54 | layout="@layout/overview_panel" /> |
Sreyas | 321bfae | 2020-02-21 17:53:02 -0800 | [diff] [blame] | 55 | |
Sunny Goyal | e15e2a8 | 2017-12-15 13:05:42 -0800 | [diff] [blame] | 56 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 57 | <!-- Keep these behind the workspace so that they are not visible when |
| 58 | we go into AllApps --> |
| 59 | <com.android.launcher3.pageindicators.WorkspacePageIndicator |
| 60 | android:id="@+id/page_indicator" |
| 61 | android:layout_width="match_parent" |
Tony Wickham | 5edf9e2 | 2020-03-27 20:06:52 -0700 | [diff] [blame] | 62 | android:layout_height="@dimen/workspace_page_indicator_height" |
Sunny Goyal | 81b4c7b | 2018-03-26 12:10:31 -0700 | [diff] [blame] | 63 | android:layout_gravity="bottom|center_horizontal" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 64 | android:theme="@style/HomeScreenElementTheme" /> |
| 65 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 66 | <include |
Sunny Goyal | 47328fd | 2016-05-25 18:56:41 -0700 | [diff] [blame] | 67 | android:id="@+id/drop_target_bar" |
Sunny Goyal | d1b3f5c | 2018-01-18 17:14:05 -0800 | [diff] [blame] | 68 | layout="@layout/drop_target_bar" /> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 69 | |
Sunny Goyal | 876e462 | 2018-11-02 13:50:40 -0700 | [diff] [blame] | 70 | <include |
| 71 | android:id="@+id/scrim_view" |
Sunny Goyal | 927447e | 2018-05-04 13:19:29 -0700 | [diff] [blame] | 72 | layout="@layout/scrim_view" /> |
| 73 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 74 | <include |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 75 | android:id="@+id/apps_view" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame] | 76 | layout="@layout/all_apps" |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 77 | android:layout_width="match_parent" |
Sunny Goyal | 876e462 | 2018-11-02 13:50:40 -0700 | [diff] [blame] | 78 | android:layout_height="match_parent" /> |
Sunny Goyal | 7185dd6 | 2018-03-14 17:51:49 -0700 | [diff] [blame] | 79 | |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 80 | </com.android.launcher3.dragndrop.DragLayer> |
Adam Cohen | c2d6e89 | 2014-10-16 09:49:24 -0700 | [diff] [blame] | 81 | |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 82 | </com.android.launcher3.LauncherRootView> |