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 | a590252 | 2009-07-30 13:37:37 -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 | |
| 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"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 24 | |
Daniel Sandler | 388f679 | 2010-03-02 14:08:08 -0500 | [diff] [blame] | 25 | <include layout="@layout/all_apps" /> |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 26 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 27 | <!-- The workspace contains 3 screens of cells --> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 28 | <com.android.launcher2.Workspace |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 29 | android:id="@+id/workspace" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent" |
Mike Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 32 | android:scrollbars="horizontal" |
| 33 | android:fadeScrollbars="true" |
| 34 | launcher:defaultScreen="2"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 35 | |
| 36 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 37 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 38 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
Mike Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 39 | <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> |
| 40 | <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 41 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 42 | </com.android.launcher2.Workspace> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 43 | |
Romain Guy | bd0f6c8 | 2009-11-09 21:03:58 -0800 | [diff] [blame] | 44 | <ImageView |
| 45 | android:id="@+id/previous_screen" |
Romain Guy | 2c0a7ae | 2009-11-13 19:40:33 -0800 | [diff] [blame] | 46 | android:layout_width="93dip" |
Romain Guy | bd0f6c8 | 2009-11-09 21:03:58 -0800 | [diff] [blame] | 47 | android:layout_height="@dimen/button_bar_height" |
| 48 | android:layout_gravity="bottom|left" |
| 49 | android:layout_marginLeft="6dip" |
| 50 | |
| 51 | android:src="@drawable/home_arrows_left" |
| 52 | |
| 53 | android:onClick="previousScreen" |
| 54 | |
| 55 | android:focusable="true" |
| 56 | android:clickable="true" /> |
| 57 | |
| 58 | <ImageView |
| 59 | android:id="@+id/next_screen" |
Romain Guy | 2c0a7ae | 2009-11-13 19:40:33 -0800 | [diff] [blame] | 60 | android:layout_width="93dip" |
Romain Guy | bd0f6c8 | 2009-11-09 21:03:58 -0800 | [diff] [blame] | 61 | android:layout_height="@dimen/button_bar_height" |
| 62 | android:layout_gravity="bottom|right" |
| 63 | android:layout_marginRight="6dip" |
| 64 | |
| 65 | android:src="@drawable/home_arrows_right" |
| 66 | |
| 67 | android:onClick="nextScreen" |
| 68 | |
| 69 | android:focusable="true" |
| 70 | android:clickable="true" /> |
| 71 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 72 | <com.android.launcher2.HandleView |
Joe Onorato | 7c312c1 | 2009-08-13 21:36:53 -0700 | [diff] [blame] | 73 | android:id="@+id/all_apps_button" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 74 | android:layout_width="@dimen/button_bar_height" |
Joe Onorato | 57a7aaa | 2010-02-02 08:31:50 -0800 | [diff] [blame] | 75 | android:layout_height="wrap_content" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 76 | android:layout_gravity="right|center_vertical" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 77 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 78 | android:focusable="true" |
| 79 | android:clickable="true" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 80 | |
Joe Onorato | 7404ee4 | 2009-07-31 11:54:44 -0700 | [diff] [blame] | 81 | android:scaleType="center" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 82 | android:src="@drawable/all_apps_button" |
| 83 | launcher:direction="vertical" |
| 84 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 85 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 86 | <com.android.launcher2.DeleteZone |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 87 | android:id="@+id/delete_zone" |
Joe Onorato | 57a7aaa | 2010-02-02 08:31:50 -0800 | [diff] [blame] | 88 | android:layout_width="@dimen/button_bar_height" |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 89 | android:layout_height="match_parent" |
Joe Onorato | 57a7aaa | 2010-02-02 08:31:50 -0800 | [diff] [blame] | 90 | android:layout_gravity="right|center_vertical" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 91 | |
| 92 | android:scaleType="center" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 93 | android:src="@drawable/delete_zone_selector" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 94 | android:visibility="invisible" |
Joe Onorato | 5779e2a | 2009-10-06 13:19:30 -0700 | [diff] [blame] | 95 | launcher:direction="vertical" |
| 96 | /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 97 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 98 | </com.android.launcher2.DragLayer> |