attrs.xml 3.1 KB
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <attr name="iconSize" format="dimension" />
    <attr name="iconMargin" format="dimension" />
    <attr name="iconSrc" format="reference" />
    <attr name="iconLeft" format="reference" />
    <attr name="iconRight" format="reference" />
    <attr name="duration_max" format="integer" />
    <declare-styleable name="JCameraView">
        <attr name="iconSize" />
        <attr name="iconMargin" />
        <attr name="iconSrc" />
        <attr name="iconLeft" />
        <attr name="iconRight" />
        <attr name="duration_max" />
    </declare-styleable>
    <!---->
    <declare-styleable name="LetterBar">

        <!-- A drawable to use as the background of the LetterBar -->
        <attr name="lbLetterBarBackground" format="reference|color" />

        <!-- Text Color of the LetterBar text -->
        <attr name="lbLetterBarTextColor" format="reference|color" />

        <!-- A drawable to use as the background of the Overlay -->
        <attr name="lbOverlayBackground" format="reference|color" />

        <!-- Text Color of the Overlay text -->
        <attr name="lbOverlayTextColor" format="reference|color" />

        <!-- Text Size of the Overlay text -->
        <attr name="lbOverlayTextSize" format="reference|dimension" />

    </declare-styleable>

    <!--    -->
    <declare-styleable name="Expression">
        <attr name="expressionSize" format="dimension" />
        <attr name="expressionAlignment" format="enum">
            <enum name="bottom" value="0" />
            <enum name="baseline" value="1" />
        </attr>
        <attr name="expressionTextStart" format="integer" />
        <attr name="expressionTextLength" format="integer" />
        <attr name="isGifShow" format="boolean" />
    </declare-styleable>

    <!--    空祖-->
    <declare-styleable name="CustomFrameLayoutAttr">
        <attr name="layout_maxWidth" format="dimension" />
        <attr name="layout_maxHeight" format="dimension" />
    </declare-styleable>

    <declare-styleable name="RealtimeBlurView">
        <attr name="realtimeBlurRadius" format="dimension" />
        <attr name="realtimeDownsampleFactor" format="float" />
        <attr name="realtimeOverlayColor" format="color" />
        <attr name="xRadius" format="dimension" />
        <attr name="yRadius" format="dimension" />
    </declare-styleable>

    <declare-styleable name="CircularProgress">
        <attr name="borderWidth" format="dimension" />
    </declare-styleable>
    <!--    -->
    <!--    侧滑返回-->
    <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" />
    <!--    -->
</resources>