• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="specType" 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="WorkspaceSpec">
30        <attr name="specType" />
31        <attr name="maxAvailableSize" />
32    </declare-styleable>
33
34    <declare-styleable name="FolderSpec">
35        <attr name="specType" />
36        <attr name="maxAvailableSize" />
37    </declare-styleable>
38
39    <declare-styleable name="AllAppsSpec">
40        <attr name="specType" />
41        <attr name="maxAvailableSize" />
42    </declare-styleable>
43
44    <declare-styleable name="SizeSpec">
45        <attr name="fixedSize" format="dimension" />
46        <attr name="ofAvailableSpace" format="float" />
47        <attr name="ofRemainderSpace" format="float" />
48        <attr name="matchWorkspace" format="boolean" />
49        <attr name="maxSize" format="dimension" />
50    </declare-styleable>
51</resources>
52