launcher.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2007 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!-- Full screen view projects under the status bar and contains the background -->
  14. <com.android.launcher3.LauncherRootView
  15. xmlns:android="http://schemas.android.com/apk/res/android"
  16. xmlns:launcher="http://schemas.android.com/apk/res-auto"
  17. android:id="@+id/launcher"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:fitsSystemWindows="true">
  21. <com.android.launcher3.DragLayer
  22. android:id="@+id/drag_layer"
  23. android:clipChildren="false"
  24. android:clipToPadding="false"
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent">
  27. <com.android.launcher3.FocusIndicatorView
  28. android:id="@+id/focus_indicator"
  29. android:layout_width="52dp"
  30. android:layout_height="52dp" />
  31. <!-- The workspace contains 5 screens of cells -->
  32. <!-- DO NOT CHANGE THE ID -->
  33. <com.android.launcher3.Workspace
  34. android:id="@+id/workspace"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:layout_gravity="center"
  38. launcher:defaultScreen="@integer/config_workspaceDefaultScreen" />
  39. <!-- DO NOT CHANGE THE ID -->
  40. <include layout="@layout/hotseat"
  41. android:id="@+id/hotseat"
  42. android:layout_width="match_parent"
  43. android:layout_height="match_parent"
  44. android:layout_gravity="right" />
  45. <include
  46. android:id="@+id/search_drop_target_bar"
  47. layout="@layout/search_drop_target_bar" />
  48. <include layout="@layout/overview_panel"
  49. android:id="@+id/overview_panel"
  50. android:visibility="gone" />
  51. <include layout="@layout/widgets_view"
  52. android:id="@+id/widgets_view"
  53. android:layout_width="match_parent"
  54. android:layout_height="match_parent"
  55. android:visibility="invisible" />
  56. <include layout="@layout/all_apps"
  57. android:id="@+id/apps_view"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:visibility="invisible" />
  61. </com.android.launcher3.DragLayer>
  62. </com.android.launcher3.LauncherRootView>