Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2007 The Android Open Source Project |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 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 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 17 | <!-- Full screen view projects under the status bar and contains the background --> |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 18 | <com.android.launcher3.LauncherRootView |
Winson Chung | 6fa610d | 2012-02-24 15:53:17 -0800 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Goyal | b9f261f | 2014-11-03 11:39:27 -0800 | [diff] [blame] | 20 | xmlns:launcher="http://schemas.android.com/apk/res-auto" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 21 | android:id="@+id/launcher" |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 22 | android:layout_width="match_parent" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 23 | android:layout_height="match_parent" |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 24 | android:fitsSystemWindows="true"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 25 | |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 26 | <com.android.launcher3.dragndrop.DragLayer |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 27 | android:id="@+id/drag_layer" |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 28 | android:clipChildren="false" |
| 29 | android:clipToPadding="false" |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 31 | android:layout_height="match_parent"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 32 | |
Sunny Goyal | dcbcc86 | 2014-08-12 15:58:36 -0700 | [diff] [blame] | 33 | <com.android.launcher3.FocusIndicatorView |
| 34 | android:id="@+id/focus_indicator" |
| 35 | android:layout_width="52dp" |
| 36 | android:layout_height="52dp" /> |
| 37 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 38 | <!-- The workspace contains 5 screens of cells --> |
Hyunyoung Song | 60331a9 | 2015-06-18 15:05:56 -0700 | [diff] [blame] | 39 | <!-- DO NOT CHANGE THE ID --> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 40 | <com.android.launcher3.Workspace |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 41 | android:id="@+id/workspace" |
| 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="match_parent" |
Winson Chung | 5f8afe6 | 2013-08-12 16:19:28 -0700 | [diff] [blame] | 44 | launcher:pageIndicator="@id/page_indicator"> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 45 | </com.android.launcher3.Workspace> |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame] | 46 | |
Hyunyoung Song | 60331a9 | 2015-06-18 15:05:56 -0700 | [diff] [blame] | 47 | <!-- DO NOT CHANGE THE ID --> |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 48 | <include layout="@layout/hotseat" |
| 49 | android:id="@+id/hotseat" |
| 50 | android:layout_width="match_parent" |
Winson Chung | 5f8afe6 | 2013-08-12 16:19:28 -0700 | [diff] [blame] | 51 | android:layout_height="match_parent" /> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 52 | |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 53 | <include |
Sunny Goyal | 47328fd | 2016-05-25 18:56:41 -0700 | [diff] [blame^] | 54 | android:id="@+id/drop_target_bar" |
| 55 | layout="@layout/drop_target_bar_horz" /> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 56 | |
Adam Cohen | f358a4b | 2013-07-23 16:47:31 -0700 | [diff] [blame] | 57 | <include layout="@layout/overview_panel" |
| 58 | android:id="@+id/overview_panel" |
| 59 | android:visibility="gone" /> |
| 60 | |
| 61 | <!-- Keep these behind the workspace so that they are not visible when |
| 62 | we go into AllApps --> |
Tony Wickham | f549dab | 2016-05-16 09:54:06 -0700 | [diff] [blame] | 63 | <com.android.launcher3.pageindicators.PageIndicatorLine |
| 64 | android:id="@+id/page_indicator" |
| 65 | android:layout_width="match_parent" |
Sunny Goyal | 47328fd | 2016-05-25 18:56:41 -0700 | [diff] [blame^] | 66 | android:layout_height="@dimen/dynamic_grid_page_indicator_height" /> |
Adam Cohen | f358a4b | 2013-07-23 16:47:31 -0700 | [diff] [blame] | 67 | |
Hyunyoung Song | 3f47144 | 2015-04-08 19:01:34 -0700 | [diff] [blame] | 68 | <include layout="@layout/widgets_view" |
Winson Chung | 0f78572 | 2015-04-08 10:27:49 -0700 | [diff] [blame] | 69 | android:id="@+id/widgets_view" |
Craig Mautner | 360310b | 2012-10-26 15:13:08 -0700 | [diff] [blame] | 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="match_parent" |
| 72 | android:visibility="invisible" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 73 | |
Winson Chung | 5f4e0fd | 2015-05-22 11:12:27 -0700 | [diff] [blame] | 74 | <include layout="@layout/all_apps" |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 75 | android:id="@+id/apps_view" |
| 76 | android:layout_width="match_parent" |
| 77 | android:layout_height="match_parent" |
| 78 | android:visibility="invisible" /> |
Vadim Tryshev | fedca43 | 2015-08-19 17:55:02 -0700 | [diff] [blame] | 79 | </com.android.launcher3.dragndrop.DragLayer> |
Adam Cohen | c2d6e89 | 2014-10-16 09:49:24 -0700 | [diff] [blame] | 80 | |
Adam Cohen | a6d0492 | 2014-10-23 17:28:30 -0700 | [diff] [blame] | 81 | </com.android.launcher3.LauncherRootView> |