mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Effectively reverts CL:33454986 and adds float min device width/height attributes that specify dimensions as number of dp. Currently, dp dimensions are only used for desktop devices. Test: Existing tests Bug: 375643744 Flag: com.android.launcher3.enable_scalability_for_desktop_experience Change-Id: I8a2bb3b9e6f97987fb25db553fc628d30cd3bf7c
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (C) 2025 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.
|
|
-->
|
|
<GridSizeSpecs xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
|
<GridSize
|
|
launcher:numGridColumns="7"
|
|
launcher:numGridRows="3"
|
|
launcher:dbFile="launcher_7_by_3.db"
|
|
launcher:defaultLayoutId="@xml/default_workspace_7x3"
|
|
launcher:minDeviceWidthPx="0"
|
|
launcher:minDeviceHeightPx="0"
|
|
/>
|
|
<GridSize
|
|
launcher:numGridColumns="8"
|
|
launcher:numGridRows="3"
|
|
launcher:dbFile="launcher_8_by_3.db"
|
|
launcher:defaultLayoutId="@xml/default_workspace_8x3"
|
|
launcher:minDeviceWidthPx="0"
|
|
launcher:minDeviceHeightPx="2093"
|
|
/>
|
|
</GridSizeSpecs> |