Files
lawnchair/res/layout/launcher_preview_layout.xml
Sunny Goyal bf49baab09 Updating launcher preview generation
> Moving classes to a separate package
> Extracting PreviewContext outside of renderer
> Always loading the sandbox instead of loading real model followed by a sandbox
> Binding LoaderTask using params so that it can be customized

Bug: 420997234
Flag: EXEMPT refactor
Test: Presubmit

Change-Id: Idf45eaba9d8309cb55b47847d8e3686cbb6c0a8e
2025-05-30 16:44:49 -07:00

36 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<view class="com.android.launcher3.preview.LauncherPreviewRenderer$LauncherPreviewLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="false">
<com.android.launcher3.CellLayout
android:id="@+id/workspace"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="top|left"
android:theme="@style/HomeScreenElementTheme"
launcher:containerType="workspace"
launcher:pageIndicator="@+id/page_indicator"/>
<include
android:id="@+id/hotseat"
layout="@layout/hotseat" />
</view>