2017-02-14 00:05:06 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
|
|
|
<!--
|
2018-09-11 15:27:47 -07:00
|
|
|
Copyright (c) Facebook, Inc. and its affiliates.
|
2022-12-06 08:39:20 -08:00
|
|
|
|
2018-02-16 18:24:55 -08:00
|
|
|
This source code is licensed under the MIT license found in the
|
|
|
|
LICENSE file in the root directory of this source tree.
|
2017-02-14 00:05:06 -08:00
|
|
|
-->
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<declare-styleable name="yoga">
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_alignContent" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="auto" value="0"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_start" value="1"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="center" value="2"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_end" value="3"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="stretch" value="4"/>
|
|
|
|
<enum name="baseline" value="5"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_alignItems" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="auto" value="0"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_start" value="1"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="center" value="2"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_end" value="3"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="stretch" value="4"/>
|
|
|
|
<enum name="baseline" value="5"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_alignSelf" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="auto" value="0"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_start" value="1"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="center" value="2"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_end" value="3"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="stretch" value="4"/>
|
|
|
|
<enum name="baseline" value="5"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_aspectRatio" format="float"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_borderLeft" format="dimension"/>
|
|
|
|
<attr name="yg_borderTop" format="dimension"/>
|
|
|
|
<attr name="yg_borderRight" format="dimension"/>
|
|
|
|
<attr name="yg_borderBottom" format="dimension"/>
|
|
|
|
<attr name="yg_borderStart" format="dimension"/>
|
|
|
|
<attr name="yg_borderEnd" format="dimension"/>
|
|
|
|
<attr name="yg_borderHorizontal" format="dimension"/>
|
|
|
|
<attr name="yg_borderVertical" format="dimension"/>
|
|
|
|
<attr name="yg_borderAll" format="dimension"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-03 00:30:42 -08:00
|
|
|
<attr name="yg_direction" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="inherit" value="0"/>
|
|
|
|
<enum name="ltr" value="1"/>
|
|
|
|
<enum name="rtl" value="2"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-03 00:30:42 -08:00
|
|
|
<attr name="yg_display" format="enum">
|
2017-02-28 00:24:34 -08:00
|
|
|
<enum name="flex" value="0"/>
|
|
|
|
<enum name="none" value="1"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-03 00:30:42 -08:00
|
|
|
<attr name="yg_flex" format="float"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_flexBasis" format="float|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_flexDirection" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="column" value="0"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="column_reverse" value="1"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="row" value="2"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="row_reverse" value="3"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_flexGrow" format="float"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_flexShrink" format="float"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-03 06:38:32 -08:00
|
|
|
<attr name="yg_height" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_justifyContent" format="enum">
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_start" value="0"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="center" value="1"/>
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="flex_end" value="2"/>
|
|
|
|
<enum name="space_between" value="3"/>
|
|
|
|
<enum name="space_around" value="4"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_marginLeft" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginTop" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginRight" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginBottom" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginStart" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginEnd" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginHorizontal" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginVertical" format="dimension|string"/>
|
|
|
|
<attr name="yg_marginAll" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_maxHeight" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_maxWidth" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_minHeight" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_minWidth" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-03 00:30:42 -08:00
|
|
|
<attr name="yg_overflow" format="enum">
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="visible" value="0"/>
|
|
|
|
<enum name="hidden" value="1"/>
|
|
|
|
<enum name="scroll" value="2"/>
|
|
|
|
</attr>
|
|
|
|
|
2017-03-09 06:17:07 -08:00
|
|
|
<attr name="yg_paddingLeft" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingTop" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingRight" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingBottom" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingStart" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingEnd" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingHorizontal" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingVertical" format="dimension|string"/>
|
|
|
|
<attr name="yg_paddingAll" format="dimension|string"/>
|
|
|
|
|
|
|
|
<attr name="yg_positionLeft" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionTop" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionRight" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionBottom" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionStart" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionEnd" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionHorizontal" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionVertical" format="dimension|string"/>
|
|
|
|
<attr name="yg_positionAll" format="dimension|string"/>
|
|
|
|
|
|
|
|
<attr name="yg_positionType" format="enum">
|
2022-12-06 08:39:20 -08:00
|
|
|
<!-- "static" is a reserved keyword
|
|
|
|
<enum name="static" value="0"/>
|
|
|
|
-->
|
|
|
|
<enum name="relative" value="1"/>
|
|
|
|
<enum name="absolute" value="2"/>
|
|
|
|
<enum name="position_static" value="0"/>
|
|
|
|
<enum name="position_relative" value="1"/>
|
|
|
|
<enum name="position_absolute" value="2"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
</attr>
|
|
|
|
|
2017-03-03 06:38:32 -08:00
|
|
|
<attr name="yg_width" format="dimension|string"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2017-03-03 00:30:42 -08:00
|
|
|
<attr name="yg_wrap" format="enum">
|
2017-02-23 04:57:16 -08:00
|
|
|
<enum name="no_wrap" value="0"/>
|
2017-02-14 00:05:06 -08:00
|
|
|
<enum name="wrap" value="1"/>
|
|
|
|
</attr>
|
|
|
|
</declare-styleable>
|
|
|
|
</resources>
|