<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- SwipeBackLayout -->
    <declare-styleable name="SwipeBackLayout">
        <attr name="edge_size" format="dimension" />
        <attr name="edge_flag">
            <enum name="left" value="0" />
            <enum name="right" value="1" />
            <enum name="bottom" value="2" />
            <enum name="all" value="3" />
        </attr>
        <attr name="shadow_left" format="reference" />
        <attr name="shadow_right" format="reference" />
        <attr name="shadow_bottom" format="reference" />
    </declare-styleable>

    <attr name="SwipeBackLayoutStyle" format="reference" />

    <declare-styleable name="StickNavLayout">
        <!--默认是否悬停tab-->
        <attr name="isStickNav" format="boolean" />
        <!--距离悬浮的位置-->
        <attr name="stickOffset" format="dimension" />
    </declare-styleable>

    <!--Banner无限轮播属性-->
    <declare-styleable name="BannerView">
        <attr name="bannerPageMargin" format="dimension" />
        <attr name="bannerPagePercent" format="float" />
        <attr name="bannerPageScale" format="float" />
        <attr name="bannerPageAlpha" format="float" />
        <attr name="bannerScrollDuration" format="integer" />
        <attr name="bannerAnimDuration" format="integer" />
        <attr name="bannerAnimScroll" format="boolean" />
        <attr name="bannerAutoScroll" format="boolean" />
    </declare-styleable>

    <!--时间轴样式布局-->
    <declare-styleable name="TimeLineLayout">
        <!--每行高度-->
        <attr name="tll_height" format="dimension|reference" />
        <!--文字大小-->
        <attr name="tll_textSize" format="dimension|reference" />
        <!--文字颜色-->
        <attr name="tll_textColor" format="color|reference" />
        <!--文字和时间轴间距-->
        <attr name="tll_padding" format="dimension|reference" />
        <!--时间轴圆点颜色-->
        <attr name="tll_dotColor" format="color|reference" />
        <!--时间轴圆点半径-->
        <attr name="tll_dotRadius" format="dimension|reference" />
        <!--时间线颜色-->
        <attr name="tll_lineColor" format="color|reference" />
        <!--时间线宽度-->
        <attr name="tll_lineWidth" format="dimension|reference" />
    </declare-styleable>


    <declare-styleable name="CircleImageView">
        <attr name="border_width" format="dimension" />
        <attr name="border_color" format="color" />
    </declare-styleable>


    <declare-styleable name="CountDownView">
        <!--view半径-->
        <attr name="cd_circle_radius" format="dimension" />
        <!--画笔宽度-->
        <attr name="cd_arc_width" format="dimension" />
        <!--画笔颜色-->
        <attr name="cd_arc_color" format="color" />
        <!--背景颜色-->
        <attr name="cd_bg_color" format="color" />
        <!--字体颜色-->
        <attr name="cd_text_color" format="color" />
        <!--字体尺寸-->
        <attr name="cd_text_size" format="dimension" />
        <!--动画执行时长-->
        <attr name="cd_animator_time" format="integer" />
        <!--时间单位-->
        <attr name="cd_animator_time_unit" format="string" />
        <!--动画进退方式-->
        <attr name="cd_retreat_type" format="enum">
            <!--外层的圆弧逐渐变长-->
            <enum name="forward" value="1" />
            <!--外层的圆弧逐渐减短-->
            <enum name="back" value="2" />
        </attr>
        <!--加载进度的开始位置-->
        <attr name="cd_location" format="enum">
            <enum name="left" value="1" />
            <enum name="top" value="2" />
            <enum name="right" value="3" />
            <enum name="bottom" value="4" />
        </attr>
    </declare-styleable>

    <declare-styleable name="buttonView">
        <attr name="onBackground" format="reference"></attr>
        <attr name="offBackground" format="reference"></attr>
        <attr name="circleColor" format="reference"></attr>
        <attr name="time" format="integer"></attr>
        <attr name="layout_width" format="dimension"></attr>
        <attr name="layout_height" format="dimension"></attr>
    </declare-styleable>

    <declare-styleable name="RoundAngleImageView">
        <attr name="roundWidth" format="dimension" />
        <attr name="roundHeight" format="dimension" />
    </declare-styleable>

    <declare-styleable name="TransformativeImageView">
        <attr name="max_scale" format="float" />
        <attr name="min_scale" format="float" />
        <attr name="revert_duration" format="integer" />
        <attr name="open_scale_revert" format="boolean" />
        <attr name="open_rotate_revert" format="boolean" />
        <attr name="open_translate_revert" format="boolean" />
        <attr name="open_animator" format="boolean" />
        <attr name="scale_center" format="enum">
            <enum name="img_center" value="0" />
            <enum name="finger_center" value="1" />
        </attr>
        <attr name="open_rotate" format="boolean" />
        <attr name="open_translate" format="boolean" />
        <attr name="open_scale" format="boolean" />
    </declare-styleable>
</resources>