The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?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 Chung | 32174c8 | 2011-07-19 15:47:55 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Winson Chung | 32174c8 | 2011-07-19 15:47:55 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 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 | |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 17 | <com.android.launcher2.DragLayer |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 4f20947 | 2010-03-04 12:07:31 -0800 | [diff] [blame] | 19 | xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 20 | |
Joe Onorato | 00acb12 | 2009-08-04 16:04:30 -0400 | [diff] [blame] | 21 | android:id="@+id/drag_layer" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent"> |
Joe Onorato | 5979117 | 2009-07-31 16:21:40 -0700 | [diff] [blame] | 24 | |
Winson Chung | 32174c8 | 2011-07-19 15:47:55 -0700 | [diff] [blame] | 25 | <!-- Keep these behind the workspace so that they are not visible when |
| 26 | we go into AllApps --> |
| 27 | <include |
Winson Chung | f5f8cef | 2011-07-22 11:16:13 -0700 | [diff] [blame] | 28 | android:id="@+id/dock_divider" |
Winson Chung | a6427b1 | 2011-07-27 10:53:39 -0700 | [diff] [blame] | 29 | layout="@layout/workspace_divider" |
Winson Chung | 32174c8 | 2011-07-19 15:47:55 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
Winson Chung | f5f8cef | 2011-07-22 11:16:13 -0700 | [diff] [blame] | 32 | android:layout_marginBottom="@dimen/button_bar_height" |
| 33 | android:layout_gravity="bottom" /> |
Winson Chung | 32174c8 | 2011-07-19 15:47:55 -0700 | [diff] [blame] | 34 | <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 Cohen | d22015c | 2010-07-26 22:02:18 -0700 | [diff] [blame] | 42 | <!-- The workspace contains 5 screens of cells --> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 43 | <com.android.launcher2.Workspace |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 44 | android:id="@+id/workspace" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="match_parent" |
Winson Chung | 9b0f23b | 2011-10-09 15:03:40 -0700 | [diff] [blame] | 47 | android:paddingTop="@dimen/qsb_bar_height_inset" |
Winson Chung | 4afe9b3 | 2011-07-27 17:46:20 -0700 | [diff] [blame] | 48 | android:paddingBottom="@dimen/button_bar_height" |
Adam Cohen | d22015c | 2010-07-26 22:02:18 -0700 | [diff] [blame] | 49 | launcher:defaultScreen="2" |
| 50 | launcher:cellCountX="4" |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 51 | launcher:cellCountY="4" |
Winson Chung | f5f8cef | 2011-07-22 11:16:13 -0700 | [diff] [blame] | 52 | launcher:pageSpacing="@dimen/workspace_page_spacing" |
Winson Chung | a6427b1 | 2011-07-27 10:53:39 -0700 | [diff] [blame] | 53 | launcher:scrollIndicatorPaddingLeft="@dimen/workspace_divider_padding_left" |
| 54 | launcher:scrollIndicatorPaddingRight="@dimen/workspace_divider_padding_right"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 55 | |
| 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 Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 59 | <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> |
| 60 | <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 61 | </com.android.launcher2.Workspace> |
Winson Chung | 3ac74c5 | 2011-06-30 17:39:37 -0700 | [diff] [blame] | 62 | |
Winson Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 63 | <include layout="@layout/hotseat" |
| 64 | android:id="@+id/hotseat" |
| 65 | android:layout_width="match_parent" |
Winson Chung | f5f8cef | 2011-07-22 11:16:13 -0700 | [diff] [blame] | 66 | android:layout_height="@dimen/button_bar_height_plus_padding" |
Winson Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 67 | android:layout_gravity="bottom" /> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 68 | |
Adam Cohen | ebea84d | 2011-11-09 17:20:41 -0800 | [diff] [blame] | 69 | <include |
| 70 | android:id="@+id/qsb_bar" |
| 71 | layout="@layout/qsb_bar" /> |
| 72 | |
Winson Chung | 604f6df | 2012-01-12 14:37:57 -0800 | [diff] [blame^] | 73 | <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 Cohen | 21b4110 | 2011-11-01 17:29:52 -0700 | [diff] [blame] | 82 | <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 Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 88 | <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 Chung | 7d7541e | 2011-09-16 20:14:36 -0700 | [diff] [blame] | 93 | |
| 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 Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 99 | </com.android.launcher2.DragLayer> |