• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2023 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
17<!-- Tablet - 6x5 portrait - More the one value first gutter -->
18<folderSpecs xmlns:launcher="http://schemas.android.com/apk/res-auto">
19    <specs launcher:maxAspectRatio="10">
20        <folderSpec launcher:dimensionType="width" launcher:maxAvailableSize="800dp">
21            <startPadding launcher:fixedSize="16dp" />
22            <endPadding launcher:fixedSize="16dp" />
23            <gutter launcher:fixedSize="16dp" />
24            <!--  value bigger than 1 -->
25            <cellSize launcher:ofRemainderSpace="1.001" />
26        </folderSpec>
27        <folderSpec launcher:dimensionType="width" launcher:maxAvailableSize="9999dp">
28            <startPadding launcher:fixedSize="16dp" />
29            <endPadding launcher:fixedSize="16dp" />
30            <gutter launcher:fixedSize="16dp" />
31            <cellSize launcher:fixedSize="102dp" />
32        </folderSpec>
33
34        <!-- Height spec is fixed -->
35        <folderSpec launcher:dimensionType="height" launcher:maxAvailableSize="9999dp">
36            <startPadding launcher:fixedSize="24dp" />
37            <!-- mapped to footer height size -->
38            <endPadding launcher:fixedSize="64dp" />
39            <gutter launcher:fixedSize="16dp" />
40            <cellSize launcher:fixedSize="104dp" />
41        </folderSpec>
42    </specs>
43</folderSpecs>
44