attrs.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <!-- Attributes have to be copied to test for correct parsing of files -->
  18. <resources>
  19. <!-- Responsive grids attributes -->
  20. <declare-styleable name="WorkspaceSpec">
  21. <attr name="specType" format="integer">
  22. <enum name="height" value="0" />
  23. <enum name="width" value="1" />
  24. </attr>
  25. <attr name="maxAvailableSize" format="dimension" />
  26. </declare-styleable>
  27. <declare-styleable name="SpecSize">
  28. <attr name="fixedSize" format="dimension" />
  29. <attr name="ofAvailableSpace" format="float" />
  30. <attr name="ofRemainderSpace" format="float" />
  31. </declare-styleable>
  32. </resources>