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" |
Jon Miranda | de43a71 | 2018-01-18 11:35:10 -0800 | [diff] [blame] | 21 | android:background="?attr/workspaceStatusBarScrim" |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 22 | android:fitsSystemWindows="true"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 23 | |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 24 | <com.android.launcher3.dragndrop.DragLayer |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 25 | android:id="@+id/drag_layer" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="match_parent" |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 28 | android:clipChildren="false" |
| 29 | android:clipToPadding="false" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 30 | android:importantForAccessibility="no"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 31 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 32 | <!-- The workspace contains 5 screens of cells --> |
Hyunyoung Song | 60331a9 | 2015-06-18 15:05:56 -0700 | [diff] [blame] | 33 | <!-- DO NOT CHANGE THE ID --> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 34 | <com.android.launcher3.Workspace |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 35 | android:id="@+id/workspace" |
| 36 | android:layout_width="match_parent" |
| 37 | android:layout_height="match_parent" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 38 | android:layout_gravity="center" |
| 39 | android:theme="@style/HomeScreenElementTheme" |
| 40 | launcher:pageIndicator="@+id/page_indicator" /> |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame] | 41 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 42 | <include |
Sunny Goyal | e15e2a8 | 2017-12-15 13:05:42 -0800 | [diff] [blame] | 43 | android:id="@+id/overview_panel" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 44 | layout="@layout/overview_panel" |
Sunny Goyal | e15e2a8 | 2017-12-15 13:05:42 -0800 | [diff] [blame] | 45 | android:visibility="gone" /> |
| 46 | |
Sunny Goyal | b532dfe | 2017-12-13 17:16:54 -0800 | [diff] [blame] | 47 | <com.android.launcher3.views.AllAppsScrim |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 48 | android:id="@+id/all_apps_scrim" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 49 | android:layout_width="match_parent" |
Sunny Goyal | 07b6929 | 2018-01-08 14:19:34 -0800 | [diff] [blame] | 50 | android:layout_height="match_parent" /> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 51 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 52 | <!-- DO NOT CHANGE THE ID --> |
| 53 | <include |
| 54 | android:id="@+id/hotseat" |
| 55 | layout="@layout/hotseat" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="match_parent" /> |
| 58 | |
| 59 | <!-- Keep these behind the workspace so that they are not visible when |
| 60 | we go into AllApps --> |
| 61 | <com.android.launcher3.pageindicators.WorkspacePageIndicator |
| 62 | android:id="@+id/page_indicator" |
| 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="@dimen/dynamic_grid_min_page_indicator_size" |
| 65 | android:theme="@style/HomeScreenElementTheme" /> |
| 66 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 67 | <include |
Sunny Goyal | 47328fd | 2016-05-25 18:56:41 -0700 | [diff] [blame] | 68 | android:id="@+id/drop_target_bar" |
Sunny Goyal | d1b3f5c | 2018-01-18 17:14:05 -0800 | [diff] [blame] | 69 | layout="@layout/drop_target_bar" /> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 70 | |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 71 | <include |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 72 | android:id="@+id/apps_view" |
Sunny Goyal | cfb630f | 2018-01-22 14:37:09 -0800 | [diff] [blame^] | 73 | layout="@layout/all_apps" |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="match_parent" |
Jon Miranda | aca2145 | 2016-09-26 14:01:56 -0700 | [diff] [blame] | 76 | android:visibility="invisible" /> |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 77 | </com.android.launcher3.dragndrop.DragLayer> |
Adam Cohen | c2d6e89 | 2014-10-16 09:49:24 -0700 | [diff] [blame] | 78 | |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 79 | </com.android.launcher3.LauncherRootView> |