Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Patrick Dubroy | dea9e93 | 2010-09-22 15:04:29 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2010 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 | |
| 17 | <com.android.launcher2.DragLayer |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" |
| 20 | |
| 21 | android:id="@+id/drag_layer" |
| 22 | android:layout_width="match_parent" |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame^] | 23 | android:layout_height="match_parent" |
| 24 | android:focusable="false"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 25 | |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 26 | <!-- The workspace contains 5 screens of cells --> |
| 27 | <com.android.launcher2.Workspace |
| 28 | android:id="@+id/workspace" |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="match_parent" |
Adam Powell | 201058d | 2010-09-09 17:57:26 -0700 | [diff] [blame] | 31 | android:paddingTop="?android:attr/actionBarSize" |
Adam Lesinski | 6b879f0 | 2010-11-04 16:15:23 -0700 | [diff] [blame] | 32 | android:paddingBottom="10dp" |
Michael Jurka | 54dd754 | 2010-07-30 14:47:52 -0700 | [diff] [blame] | 33 | launcher:defaultScreen="2" |
Adam Cohen | d22015c | 2010-07-26 22:02:18 -0700 | [diff] [blame] | 34 | launcher:cellCountX="8" |
Adam Cohen | 9c4949e | 2010-10-05 12:27:22 -0700 | [diff] [blame] | 35 | launcher:cellCountY="7" |
Michael Jurka | 3c38d56 | 2011-02-18 19:22:12 -0800 | [diff] [blame] | 36 | launcher:pageSpacing="@dimen/workspace_page_spacing"> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 37 | |
| 38 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 39 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 40 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
| 41 | <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> |
| 42 | <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 43 | </com.android.launcher2.Workspace> |
| 44 | |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame^] | 45 | <include layout="@layout/button_bar" |
| 46 | android:id="@+id/all_apps_button_cluster" |
| 47 | android:layout_width="fill_parent" |
| 48 | android:layout_height="?android:attr/actionBarSize" |
| 49 | android:layout_gravity="top" /> |
| 50 | |
Adam Lesinski | 6b879f0 | 2010-11-04 16:15:23 -0700 | [diff] [blame] | 51 | <include |
| 52 | layout="@layout/all_apps_tabbed" |
| 53 | android:id="@+id/all_apps_view" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="match_parent" |
| 56 | android:layout_gravity="top" /> |
| 57 | |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 58 | <include layout="@layout/customization_drawer" |
Winson Chung | 8812703 | 2010-12-13 12:11:33 -0800 | [diff] [blame] | 59 | android:id="@+id/customization_drawer" |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 60 | android:layout_width="match_parent" |
Michael Jurka | 3c38d56 | 2011-02-18 19:22:12 -0800 | [diff] [blame] | 61 | android:layout_height="@dimen/customization_drawer_height" |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 62 | android:layout_gravity="bottom" /> |
Michael Jurka | af44209 | 2010-06-10 17:01:57 -0700 | [diff] [blame] | 63 | </com.android.launcher2.DragLayer> |