Files
lawnchair/res/xml/spec_col_count_3_row.xml
Toni Barzic 23fdd4224f Use pixels as breakpoints for non-desktop grid sizes
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
2025-05-29 16:02:03 -07:00

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>