Merge "Revert "Making tablet grid scalable and tuning size"" into tm-dev am: b7d44d8c1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17656210 Change-Id: If255b8ce1e4d3f2d9c0f4284a84ff702cebb23d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -145,39 +145,22 @@
|
|||||||
launcher:numFolderColumns="3"
|
launcher:numFolderColumns="3"
|
||||||
launcher:numHotseatIcons="6"
|
launcher:numHotseatIcons="6"
|
||||||
launcher:numAllAppsColumns="6"
|
launcher:numAllAppsColumns="6"
|
||||||
launcher:isScalable="true"
|
|
||||||
launcher:devicePaddingId="@xml/paddings_6x5"
|
|
||||||
launcher:dbFile="launcher_6_by_5.db"
|
launcher:dbFile="launcher_6_by_5.db"
|
||||||
launcher:defaultLayoutId="@xml/default_workspace_6x5"
|
launcher:defaultLayoutId="@xml/default_workspace_6x5"
|
||||||
launcher:deviceCategory="tablet">
|
launcher:deviceCategory="tablet" >
|
||||||
|
|
||||||
<display-option
|
<display-option
|
||||||
launcher:name="Tablet"
|
launcher:name="Tablet"
|
||||||
launcher:minWidthDps="900"
|
launcher:minWidthDps="900"
|
||||||
launcher:minHeightDps="820"
|
launcher:minHeightDps="820"
|
||||||
launcher:minCellHeight="120"
|
launcher:minCellHeight="104"
|
||||||
launcher:minCellWidth="102"
|
launcher:minCellWidth="80"
|
||||||
launcher:minCellHeightLandscape="104"
|
|
||||||
launcher:minCellWidthLandscape="120"
|
|
||||||
launcher:iconImageSize="60"
|
launcher:iconImageSize="60"
|
||||||
launcher:iconTextSize="14"
|
launcher:iconTextSize="14"
|
||||||
launcher:borderSpaceHorizontal="16"
|
launcher:borderSpace="16"
|
||||||
launcher:borderSpaceVertical="64"
|
|
||||||
launcher:borderSpaceLandscapeHorizontal="64"
|
|
||||||
launcher:borderSpaceLandscapeVertical="16"
|
|
||||||
launcher:horizontalMargin="54"
|
|
||||||
launcher:horizontalMarginLandscape="120"
|
|
||||||
launcher:allAppsCellWidth="96"
|
|
||||||
launcher:allAppsCellHeight="142"
|
|
||||||
launcher:allAppsCellWidthLandscape="126"
|
|
||||||
launcher:allAppsCellHeightLandscape="126"
|
|
||||||
launcher:allAppsIconSize="60"
|
launcher:allAppsIconSize="60"
|
||||||
launcher:allAppsIconTextSize="14"
|
launcher:allAppsIconTextSize="14"
|
||||||
launcher:allAppsBorderSpaceHorizontal="8"
|
launcher:allAppsBorderSpace="16"
|
||||||
launcher:allAppsBorderSpaceVertical="16"
|
|
||||||
launcher:allAppsBorderSpaceLandscape="16"
|
|
||||||
launcher:hotseatBorderSpace="58"
|
|
||||||
launcher:hotseatBorderSpaceLandscape="50.4"
|
|
||||||
launcher:canBeDefault="true" />
|
launcher:canBeDefault="true" />
|
||||||
|
|
||||||
</grid-option>
|
</grid-option>
|
||||||
|
|||||||
@@ -1,76 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (C) 2022 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<device-paddings xmlns:launcher="http://schemas.android.com/apk/res-auto" >
|
|
||||||
|
|
||||||
<!-- Some non default screen sizes -->
|
|
||||||
<device-padding
|
|
||||||
launcher:maxEmptySpace="30dp">
|
|
||||||
<workspaceTopPadding
|
|
||||||
launcher:a="0.34"
|
|
||||||
launcher:b="0"/>
|
|
||||||
<workspaceBottomPadding
|
|
||||||
launcher:a="0.26"
|
|
||||||
launcher:b="0"/>
|
|
||||||
<hotseatBottomPadding
|
|
||||||
launcher:a="0.4"
|
|
||||||
launcher:b="0"/>
|
|
||||||
</device-padding>
|
|
||||||
|
|
||||||
<device-padding
|
|
||||||
launcher:maxEmptySpace="80dp">
|
|
||||||
<workspaceTopPadding
|
|
||||||
launcher:a="0"
|
|
||||||
launcher:b="20dp"/>
|
|
||||||
<workspaceBottomPadding
|
|
||||||
launcher:a="0.4"
|
|
||||||
launcher:b="0"
|
|
||||||
launcher:c="20dp"/>
|
|
||||||
<hotseatBottomPadding
|
|
||||||
launcher:a="0.6"
|
|
||||||
launcher:b="0"
|
|
||||||
launcher:c="20dp"/>
|
|
||||||
</device-padding>
|
|
||||||
|
|
||||||
<device-padding
|
|
||||||
launcher:maxEmptySpace="280dp">
|
|
||||||
<workspaceTopPadding
|
|
||||||
launcher:a="0"
|
|
||||||
launcher:b="112dp"/>
|
|
||||||
<workspaceBottomPadding
|
|
||||||
launcher:a="0.4"
|
|
||||||
launcher:b="0"
|
|
||||||
launcher:c="112dp"/>
|
|
||||||
<hotseatBottomPadding
|
|
||||||
launcher:a="0.6"
|
|
||||||
launcher:b="0"
|
|
||||||
launcher:c="112dp"/>
|
|
||||||
</device-padding>
|
|
||||||
|
|
||||||
<device-padding
|
|
||||||
launcher:maxEmptySpace="9999dp">
|
|
||||||
<workspaceTopPadding
|
|
||||||
launcher:a="0.40"
|
|
||||||
launcher:c="36dp"/>
|
|
||||||
<workspaceBottomPadding
|
|
||||||
launcher:a="0.60"
|
|
||||||
launcher:c="36dp"/>
|
|
||||||
<hotseatBottomPadding
|
|
||||||
launcher:a="0"
|
|
||||||
launcher:b="36dp"/>
|
|
||||||
</device-padding>
|
|
||||||
</device-paddings>
|
|
||||||
Reference in New Issue
Block a user