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 |
| 28 | android:id="@+id/paged_view_indicator_track" |
| 29 | layout="@layout/scroll_indicator_track" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_gravity="bottom" |
| 33 | android:layout_marginBottom="@dimen/button_bar_height" /> |
| 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" |
Adam Cohen | d22015c | 2010-07-26 22:02:18 -0700 | [diff] [blame] | 47 | launcher:defaultScreen="2" |
| 48 | launcher:cellCountX="4" |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 49 | launcher:cellCountY="4" |
| 50 | launcher:pageSpacing="@dimen/workspace_page_spacing"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 51 | |
| 52 | <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> |
| 53 | <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> |
| 54 | <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> |
Mike Cleron | 3a2b3f2 | 2009-11-05 17:17:42 -0800 | [diff] [blame] | 55 | <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> |
| 56 | <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 57 | </com.android.launcher2.Workspace> |
Winson Chung | 3ac74c5 | 2011-06-30 17:39:37 -0700 | [diff] [blame] | 58 | |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 59 | <include layout="@layout/qsb_bar" |
| 60 | android:id="@+id/qsb_bar" |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 61 | android:layout_width="match_parent" |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 62 | android:layout_height="@dimen/qsb_bar_height" |
| 63 | android:layout_gravity="top" /> |
| 64 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 65 | <include layout="@layout/apps_customize_pane" |
| 66 | android:id="@+id/apps_customize_pane" |
| 67 | android:layout_width="match_parent" |
| 68 | android:layout_height="match_parent" |
| 69 | android:visibility="invisible" /> |
| 70 | |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 71 | <RelativeLayout |
| 72 | android:id="@+id/all_apps_button_cluster" |
| 73 | android:layout_width="fill_parent" |
| 74 | android:layout_height="@dimen/button_bar_height" |
| 75 | android:layout_gravity="bottom|center_horizontal" |
Winson Chung | 4e6a976 | 2011-05-09 11:56:34 -0700 | [diff] [blame] | 76 | android:paddingTop="2dip"> |
| 77 | <ImageView |
| 78 | android:id="@+id/hotseat_left" |
| 79 | style="@style/HotseatButton.Left" |
| 80 | android:layout_toLeftOf="@id/all_apps_button" |
| 81 | android:src="@drawable/hotseat_phone" |
| 82 | android:onClick="launchHotSeat" /> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 83 | <com.android.launcher2.HandleView |
| 84 | style="@style/HotseatButton" |
| 85 | android:id="@+id/all_apps_button" |
Daniel Sandler | 786ae54 | 2010-04-28 00:09:19 -0400 | [diff] [blame] | 86 | android:layout_centerHorizontal="true" |
| 87 | android:layout_alignParentBottom="true" |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 88 | android:src="@drawable/all_apps_button" |
Winson Chung | 4e6a976 | 2011-05-09 11:56:34 -0700 | [diff] [blame] | 89 | launcher:direction="horizontal" /> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 90 | <ImageView |
| 91 | android:id="@+id/hotseat_right" |
| 92 | style="@style/HotseatButton.Right" |
| 93 | android:layout_toRightOf="@id/all_apps_button" |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 94 | android:src="@drawable/hotseat_browser" |
Winson Chung | 4e6a976 | 2011-05-09 11:56:34 -0700 | [diff] [blame] | 95 | android:onClick="launchHotSeat" /> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 96 | </RelativeLayout> |
| 97 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 98 | </com.android.launcher2.DragLayer> |