Home | History | Annotate | Download | only in layout-sw720dp
      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 
     17 <!-- Full screen view projects under the status bar and contains the background -->
     18 <com.android.launcher3.LauncherRootView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:launcher="http://schemas.android.com/apk/res-auto"
     21     android:id="@+id/launcher"
     22     android:layout_width="match_parent"
     23     android:layout_height="match_parent"
     24     android:fitsSystemWindows="true">
     25 
     26     <com.android.launcher3.DragLayer
     27         android:id="@+id/drag_layer"
     28         android:layout_width="match_parent"
     29         android:layout_height="match_parent">
     30 
     31         <com.android.launcher3.FocusIndicatorView
     32             android:id="@+id/focus_indicator"
     33             android:layout_width="52dp"
     34             android:layout_height="52dp" />
     35 
     36         <!-- The workspace contains 5 screens of cells -->
     37         <!-- DO NOT CHANGE THE ID -->
     38         <com.android.launcher3.Workspace
     39             android:id="@+id/workspace"
     40             android:layout_width="match_parent"
     41             android:layout_height="match_parent"
     42             launcher:defaultScreen="@integer/config_workspaceDefaultScreen"
     43             launcher:pageIndicator="@id/page_indicator">
     44         </com.android.launcher3.Workspace>
     45 
     46         <!-- DO NOT CHANGE THE ID -->
     47         <include layout="@layout/hotseat"
     48             android:id="@+id/hotseat"
     49             android:layout_width="match_parent"
     50             android:layout_height="match_parent" />
     51 
     52         <include
     53             android:id="@+id/search_drop_target_bar"
     54             layout="@layout/search_drop_target_bar" />
     55 
     56         <include layout="@layout/overview_panel"
     57             android:id="@+id/overview_panel"
     58             android:visibility="gone" />
     59 
     60         <!-- Keep these behind the workspace so that they are not visible when
     61              we go into AllApps -->
     62         <include android:id="@+id/page_indicator"
     63             layout="@layout/page_indicator"
     64             android:layout_width="wrap_content"
     65             android:layout_height="wrap_content"
     66             android:layout_gravity="center_horizontal" />
     67 
     68         <include layout="@layout/widgets_view"
     69             android:id="@+id/widgets_view"
     70             android:layout_width="match_parent"
     71             android:layout_height="match_parent"
     72             android:visibility="invisible" />
     73 
     74         <include layout="@layout/all_apps"
     75             android:id="@+id/apps_view"
     76             android:layout_width="match_parent"
     77             android:layout_height="match_parent"
     78             android:visibility="invisible" />
     79     </com.android.launcher3.DragLayer>
     80 
     81     <ViewStub
     82         android:id="@+id/launcher_overlay_stub"
     83         android:layout_width="match_parent"
     84         android:layout_height="match_parent"
     85         android:inflatedId="@+id/launcher_overlay"
     86         android:layout="@layout/launcher_overlay" />
     87 
     88 </com.android.launcher3.LauncherRootView>
     89