blob: fa5fe7334562eadbf874436157e327315a20232b [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
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
Winson Chung32174c82011-07-19 15:47:55 -07007
The Android Open Source Project31dd5032009-03-03 19:32:27 -08008 http://www.apache.org/licenses/LICENSE-2.0
Winson Chung32174c82011-07-19 15:47:55 -07009
The Android Open Source Project31dd5032009-03-03 19:32:27 -080010 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 -->
18<FrameLayout
The Android Open Source Project31dd5032009-03-03 19:32:27 -080019 xmlns:android="http://schemas.android.com/apk/res/android"
Daniel Sandler325dc232013-06-05 22:57:57 -040020 xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080021
Craig Mautner360310b2012-10-26 15:13:08 -070022 android:id="@+id/launcher"
Romain Guy8f19cdd2010-01-08 15:07:00 -080023 android:layout_width="match_parent"
Craig Mautner360310b2012-10-26 15:13:08 -070024 android:layout_height="match_parent"
25 android:background="@drawable/workspace_bg">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080026
Daniel Sandler325dc232013-06-05 22:57:57 -040027 <com.android.launcher3.DragLayer
Craig Mautner360310b2012-10-26 15:13:08 -070028 android:id="@+id/drag_layer"
Romain Guy8f19cdd2010-01-08 15:07:00 -080029 android:layout_width="match_parent"
30 android:layout_height="match_parent"
Craig Mautner360310b2012-10-26 15:13:08 -070031 android:fitsSystemWindows="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080032
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 -->
Daniel Sandler325dc232013-06-05 22:57:57 -040039 <com.android.launcher3.Workspace
Craig Mautner360310b2012-10-26 15:13:08 -070040 android:id="@+id/workspace"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
Adam Cohen7d30a372013-07-01 17:03:59 -070043 android:layout_gravity="center"
Winson Chung67ca7e42013-10-31 16:53:19 -070044 launcher:defaultScreen="@integer/config_workspaceDefaultScreen" />
Winson Chung1cad91e2011-05-25 17:41:01 -070045
Craig Mautner360310b2012-10-26 15:13:08 -070046 <include layout="@layout/hotseat"
47 android:id="@+id/hotseat"
Winson Chung5f8afe62013-08-12 16:19:28 -070048 android:layout_width="match_parent"
Craig Mautner360310b2012-10-26 15:13:08 -070049 android:layout_height="match_parent"
Fabrice Di Megliocc11f742012-12-18 16:25:49 -080050 android:layout_gravity="end" />
Winson Chung7d7541e2011-09-16 20:14:36 -070051
Craig Mautner360310b2012-10-26 15:13:08 -070052 <include
Adam Cohen24ce0b32014-01-14 16:18:14 -080053 android:id="@+id/search_drop_target_bar"
54 layout="@layout/search_drop_target_bar" />
Craig Mautner360310b2012-10-26 15:13:08 -070055
Adam Cohenf358a4b2013-07-23 16:47:31 -070056 <include layout="@layout/overview_panel"
57 android:id="@+id/overview_panel"
58 android:visibility="gone" />
59
Craig Mautner360310b2012-10-26 15:13:08 -070060 <include layout="@layout/apps_customize_pane"
61 android:id="@+id/apps_customize_pane"
62 android:layout_width="match_parent"
63 android:layout_height="match_parent"
64 android:visibility="invisible" />
Daniel Sandler325dc232013-06-05 22:57:57 -040065 </com.android.launcher3.DragLayer>
Adam Cohenc2d6e892014-10-16 09:49:24 -070066
67 <ViewStub
68 android:id="@+id/launcher_overlay_stub"
69 android:layout_width="match_parent"
70 android:layout_height="match_parent"
71 android:inflatedId="@+id/launcher_overlay"
72 android:layout="@layout/launcher_overlay" />
Daniel Sandler325dc232013-06-05 22:57:57 -040073</FrameLayout>