1<?xml version="1.0" encoding="utf-8"?><!--
2/* Copyright 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
18<!-- Attributes have to be copied to test for correct parsing of files -->
19<resources>
20    <!--  Responsive grids attributes  -->
21    <declare-styleable name="ResponsiveSpec">
22        <attr name="dimensionType" format="integer">
23            <enum name="height" value="0" />
24            <enum name="width" value="1" />
25        </attr>
26        <attr name="maxAvailableSize" format="dimension" />
27    </declare-styleable>
28
29    <declare-styleable name="ResponsiveSpecGroup">
30        <attr name="maxAspectRatio" format="float" />
31    </declare-styleable>
32
33    <declare-styleable name="WorkspaceSpec">
34        <attr name="dimensionType" />
35        <attr name="maxAvailableSize" />
36    </declare-styleable>
37
38    <declare-styleable name="FolderSpec">
39        <attr name="dimensionType" />
40        <attr name="maxAvailableSize" />
41    </declare-styleable>
42
43    <declare-styleable name="AllAppsSpec">
44        <attr name="dimensionType" />
45        <attr name="maxAvailableSize" />
46    </declare-styleable>
47
48    <declare-styleable name="SizeSpec">
49        <attr name="fixedSize" format="dimension" />
50        <attr name="ofAvailableSpace" format="float" />
51        <attr name="ofRemainderSpace" format="float" />
52        <attr name="matchWorkspace" format="boolean" />
53        <attr name="maxSize" format="dimension" />
54    </declare-styleable>
55</resources>
56