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 |
| 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 | |
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" |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 19 | xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2" |
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 | |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 25 | <com.android.launcher2.AllAppsView |
| 26 | android:id="@+id/all_apps_view" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame^] | 27 | android:layout_width="match_parent" |
| 28 | android:layout_height="match_parent" |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 29 | |
| 30 | android:scrollbarStyle="outsideInset" |
| 31 | android:drawSelectorOnTop="false" |
| 32 | android:listSelector="@drawable/grid_selector" |
| 33 | |
| 34 | android:verticalSpacing="10dip" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 35 | android:numColumns="4" |
| 36 | /> |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 37 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 38 | <!-- The workspace contains 3 screens of cells --> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 39 | <com.android.launcher2.Workspace |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 40 | android:id="@+id/workspace" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame^] | 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="match_parent" |
Mike Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 43 | launcher:defaultScreen="2"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 44 | |
| 45 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 46 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 47 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
Mike Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 48 | <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> |
| 49 | <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> |
| 50 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 51 | </com.android.launcher2.Workspace> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 52 | |
Romain Guy | 8a73c51 | 2009-11-09 19:19:59 -0800 | [diff] [blame] | 53 | <ImageView |
| 54 | android:id="@+id/previous_screen" |
Romain Guy | 2c0a7ae | 2009-11-13 19:40:33 -0800 | [diff] [blame] | 55 | android:layout_width="93dip" |
Romain Guy | 8a73c51 | 2009-11-09 19:19:59 -0800 | [diff] [blame] | 56 | android:layout_height="@dimen/button_bar_height" |
| 57 | android:layout_gravity="bottom|left" |
| 58 | android:layout_marginLeft="6dip" |
| 59 | |
| 60 | android:src="@drawable/home_arrows_left" |
| 61 | |
| 62 | android:onClick="previousScreen" |
| 63 | |
| 64 | android:focusable="true" |
| 65 | android:clickable="true" /> |
| 66 | |
| 67 | <ImageView |
| 68 | android:id="@+id/next_screen" |
Romain Guy | 2c0a7ae | 2009-11-13 19:40:33 -0800 | [diff] [blame] | 69 | android:layout_width="93dip" |
Romain Guy | 8a73c51 | 2009-11-09 19:19:59 -0800 | [diff] [blame] | 70 | android:layout_height="@dimen/button_bar_height" |
| 71 | android:layout_gravity="bottom|right" |
| 72 | android:layout_marginRight="6dip" |
| 73 | |
| 74 | android:src="@drawable/home_arrows_right" |
| 75 | |
| 76 | android:onClick="nextScreen" |
| 77 | |
| 78 | android:focusable="true" |
| 79 | android:clickable="true" /> |
| 80 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 81 | <com.android.launcher2.HandleView |
| 82 | android:id="@+id/all_apps_button" |
Romain Guy | 8a73c51 | 2009-11-09 19:19:59 -0800 | [diff] [blame] | 83 | android:layout_width="wrap_content" |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 84 | android:layout_height="@dimen/button_bar_height" |
| 85 | android:layout_gravity="bottom|center_horizontal" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 86 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 87 | android:focusable="true" |
| 88 | android:clickable="true" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 89 | |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 90 | android:scaleType="center" |
| 91 | android:src="@drawable/all_apps_button" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 92 | launcher:direction="horizontal" |
| 93 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 94 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 95 | <com.android.launcher2.DeleteZone |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 96 | android:id="@+id/delete_zone" |
Romain Guy | 8a73c51 | 2009-11-09 19:19:59 -0800 | [diff] [blame] | 97 | android:layout_width="wrap_content" |
| 98 | android:layout_height="@dimen/button_bar_height" |
Joe Onorato | 85a02a8 | 2009-09-08 12:34:22 -0700 | [diff] [blame] | 99 | android:layout_gravity="bottom|center_horizontal" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 100 | |
| 101 | android:scaleType="center" |
Joe Onorato | a9c28f6 | 2009-09-14 18:38:49 -0400 | [diff] [blame] | 102 | android:src="@drawable/delete_zone_selector" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 103 | android:visibility="invisible" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 104 | launcher:direction="horizontal" |
| 105 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 106 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 107 | </com.android.launcher2.DragLayer> |