1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 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<view class="com.android.launcher3.graphics.LauncherPreviewRenderer$LauncherPreviewLayout" 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:launcher="http://schemas.android.com/apk/res-auto" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:focusable="false"> 22 23 <androidx.constraintlayout.widget.ConstraintLayout 24 android:layout_width="match_parent" 25 android:layout_height="match_parent"> 26 27 <com.android.launcher3.CellLayout 28 android:id="@+id/workspace" 29 android:layout_width="0dp" 30 android:layout_height="0dp" 31 android:theme="@style/HomeScreenElementTheme" 32 launcher:containerType="workspace" 33 launcher:layout_constraintStart_toStartOf="parent" 34 launcher:layout_constraintTop_toTopOf="parent" 35 launcher:layout_constraintEnd_toStartOf="@id/workspace_right" 36 launcher:layout_constraintBottom_toBottomOf="parent" 37 launcher:pageIndicator="@+id/page_indicator" /> 38 39 <com.android.launcher3.CellLayout 40 android:id="@+id/workspace_right" 41 android:layout_width="0dp" 42 android:layout_height="0dp" 43 android:theme="@style/HomeScreenElementTheme" 44 launcher:containerType="workspace" 45 launcher:layout_constraintStart_toEndOf="@id/workspace" 46 launcher:layout_constraintTop_toTopOf="parent" 47 launcher:layout_constraintEnd_toEndOf="parent" 48 launcher:layout_constraintBottom_toBottomOf="parent" 49 launcher:pageIndicator="@+id/page_indicator" /> 50 51 </androidx.constraintlayout.widget.ConstraintLayout> 52 53 <include 54 android:id="@+id/hotseat" 55 layout="@layout/hotseat" /> 56 57</view>