blob: 2fc62c500811461b0706f7a588404d5ff735c5fe [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
Daniel Sandler325dc232013-06-05 22:57:57 -040026 <com.android.launcher3.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"
Michael Jurkaaf442092010-06-10 17:01:57 -070030 android:layout_width="match_parent"
Adam Cohena6d04922014-10-23 17:28:30 -070031 android:layout_height="match_parent">
Michael Jurkaaf442092010-06-10 17:01:57 -070032
Sunny Goyaldcbcc862014-08-12 15:58:36 -070033 <com.android.launcher3.FocusIndicatorView
34 android:id="@+id/focus_indicator"
35 android:layout_width="52dp"
36 android:layout_height="52dp" />
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"
Adam Cohen9efb4122013-06-06 21:35:12 -070044 launcher:defaultScreen="@integer/config_workspaceDefaultScreen"
Winson Chung5f8afe62013-08-12 16:19:28 -070045 launcher:pageIndicator="@id/page_indicator">
Daniel Sandler325dc232013-06-05 22:57:57 -040046 </com.android.launcher3.Workspace>
Winson Chung97d85d22011-04-13 11:27:36 -070047
Hyunyoung Song60331a92015-06-18 15:05:56 -070048 <!-- DO NOT CHANGE THE ID -->
Craig Mautner360310b2012-10-26 15:13:08 -070049 <include layout="@layout/hotseat"
50 android:id="@+id/hotseat"
51 android:layout_width="match_parent"
Winson Chung5f8afe62013-08-12 16:19:28 -070052 android:layout_height="match_parent" />
Winson Chung82f55532011-08-09 14:14:23 -070053
Craig Mautner360310b2012-10-26 15:13:08 -070054 <include
Adam Cohen24ce0b32014-01-14 16:18:14 -080055 android:id="@+id/search_drop_target_bar"
56 layout="@layout/search_drop_target_bar" />
Winson Chungd0160152011-11-15 15:04:42 -080057
Adam Cohenf358a4b2013-07-23 16:47:31 -070058 <include layout="@layout/overview_panel"
59 android:id="@+id/overview_panel"
60 android:visibility="gone" />
61
62 <!-- Keep these behind the workspace so that they are not visible when
63 we go into AllApps -->
Hyunyoung Song60331a92015-06-18 15:05:56 -070064 <include android:id="@+id/page_indicator"
Adam Cohenf358a4b2013-07-23 16:47:31 -070065 layout="@layout/page_indicator"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
Winson Chung5f8afe62013-08-12 16:19:28 -070068 android:layout_gravity="center_horizontal" />
Adam Cohenf358a4b2013-07-23 16:47:31 -070069
Hyunyoung Song3f471442015-04-08 19:01:34 -070070 <include layout="@layout/widgets_view"
Winson Chung0f785722015-04-08 10:27:49 -070071 android:id="@+id/widgets_view"
Craig Mautner360310b2012-10-26 15:13:08 -070072 android:layout_width="match_parent"
73 android:layout_height="match_parent"
74 android:visibility="invisible" />
Winson Chungb745afb2015-03-02 11:51:23 -080075
Winson Chung5f4e0fd2015-05-22 11:12:27 -070076 <include layout="@layout/all_apps"
Winson Chungb745afb2015-03-02 11:51:23 -080077 android:id="@+id/apps_view"
78 android:layout_width="match_parent"
79 android:layout_height="match_parent"
80 android:visibility="invisible" />
Daniel Sandler325dc232013-06-05 22:57:57 -040081 </com.android.launcher3.DragLayer>
Adam Cohenc2d6e892014-10-16 09:49:24 -070082
83 <ViewStub
84 android:id="@+id/launcher_overlay_stub"
85 android:layout_width="match_parent"
86 android:layout_height="match_parent"
87 android:inflatedId="@+id/launcher_overlay"
88 android:layout="@layout/launcher_overlay" />
89
Adam Cohena6d04922014-10-23 17:28:30 -070090</com.android.launcher3.LauncherRootView>