blob: d7b3fee4055822f94ce7a51afdc5d88605f719f2 [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
Joe Onorato7c312c12009-08-13 21:36:53 -070017<com.android.launcher2.DragLayer
The Android Open Source Project31dd5032009-03-03 19:32:27 -080018 xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy4f209472010-03-04 12:07:31 -080019 xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080020
Joe Onorato00acb122009-08-04 16:04:30 -040021 android:id="@+id/drag_layer"
Romain Guy8f19cdd2010-01-08 15:07:00 -080022 android:layout_width="match_parent"
23 android:layout_height="match_parent">
Joe Onorato59791172009-07-31 16:21:40 -070024
Winson Chung32174c82011-07-19 15:47:55 -070025 <!-- Keep these behind the workspace so that they are not visible when
26 we go into AllApps -->
27 <include
Winson Chungf5f8cef2011-07-22 11:16:13 -070028 android:id="@+id/dock_divider"
Winson Chunga6427b12011-07-27 10:53:39 -070029 layout="@layout/workspace_divider"
Winson Chung32174c82011-07-19 15:47:55 -070030 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
Winson Chungf5f8cef2011-07-22 11:16:13 -070032 android:layout_marginBottom="@dimen/button_bar_height"
33 android:layout_gravity="bottom" />
Winson Chung32174c82011-07-19 15:47:55 -070034 <include
35 android:id="@+id/paged_view_indicator"
36 layout="@layout/scroll_indicator"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_gravity="bottom"
40 android:layout_marginBottom="@dimen/button_bar_height" />
41
Adam Cohend22015c2010-07-26 22:02:18 -070042 <!-- The workspace contains 5 screens of cells -->
Joe Onoratoa5902522009-07-30 13:37:37 -070043 <com.android.launcher2.Workspace
The Android Open Source Project31dd5032009-03-03 19:32:27 -080044 android:id="@+id/workspace"
Romain Guy8f19cdd2010-01-08 15:07:00 -080045 android:layout_width="match_parent"
46 android:layout_height="match_parent"
Winson Chung9b0f23b2011-10-09 15:03:40 -070047 android:paddingTop="@dimen/qsb_bar_height_inset"
Winson Chung4afe9b32011-07-27 17:46:20 -070048 android:paddingBottom="@dimen/button_bar_height"
Adam Cohend22015c2010-07-26 22:02:18 -070049 launcher:defaultScreen="2"
50 launcher:cellCountX="4"
Winson Chung557d6ed2011-07-08 15:34:52 -070051 launcher:cellCountY="4"
Winson Chungf5f8cef2011-07-22 11:16:13 -070052 launcher:pageSpacing="@dimen/workspace_page_spacing"
Winson Chunga6427b12011-07-27 10:53:39 -070053 launcher:scrollIndicatorPaddingLeft="@dimen/workspace_divider_padding_left"
54 launcher:scrollIndicatorPaddingRight="@dimen/workspace_divider_padding_right">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080055
56 <include android:id="@+id/cell1" layout="@layout/workspace_screen" />
57 <include android:id="@+id/cell2" layout="@layout/workspace_screen" />
58 <include android:id="@+id/cell3" layout="@layout/workspace_screen" />
Mike Cleron3a2b3f22009-11-05 17:17:42 -080059 <include android:id="@+id/cell4" layout="@layout/workspace_screen" />
60 <include android:id="@+id/cell5" layout="@layout/workspace_screen" />
Joe Onoratoa5902522009-07-30 13:37:37 -070061 </com.android.launcher2.Workspace>
Winson Chung3ac74c52011-06-30 17:39:37 -070062
Winson Chung3d503fb2011-07-13 17:25:49 -070063 <include layout="@layout/hotseat"
64 android:id="@+id/hotseat"
65 android:layout_width="match_parent"
Winson Chungf5f8cef2011-07-22 11:16:13 -070066 android:layout_height="@dimen/button_bar_height_plus_padding"
Winson Chung3d503fb2011-07-13 17:25:49 -070067 android:layout_gravity="bottom" />
Winson Chung82f55532011-08-09 14:14:23 -070068
Adam Cohenebea84d2011-11-09 17:20:41 -080069 <include
70 android:id="@+id/qsb_bar"
71 layout="@layout/qsb_bar" />
72
Winson Chung604f6df2012-01-12 14:37:57 -080073 <com.android.launcher2.DrawableStateProxyView
74 android:id="@+id/voice_button_proxy"
75 android:layout_width="@dimen/qsb_bar_height"
76 android:layout_height="@dimen/qsb_bar_height"
77 android:layout_gravity="right"
78 android:clickable="true"
79 android:onClick="onClickVoiceButton"
80 launcher:sourceViewId="@+id/voice_button" />
81
Adam Cohen21b41102011-11-01 17:29:52 -070082 <include layout="@layout/apps_customize_pane"
83 android:id="@+id/apps_customize_pane"
84 android:layout_width="match_parent"
85 android:layout_height="match_parent"
86 android:visibility="invisible" />
87
Winson Chung82f55532011-08-09 14:14:23 -070088 <include layout="@layout/workspace_cling"
89 android:id="@+id/workspace_cling"
90 android:layout_width="match_parent"
91 android:layout_height="match_parent"
92 android:visibility="gone" />
Winson Chung7d7541e2011-09-16 20:14:36 -070093
94 <include layout="@layout/folder_cling"
95 android:id="@+id/folder_cling"
96 android:layout_width="match_parent"
97 android:layout_height="match_parent"
98 android:visibility="gone" />
Joe Onoratoa5902522009-07-30 13:37:37 -070099</com.android.launcher2.DragLayer>