attrs.xml 4.62 KB
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <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" />
    <!--    -->
    <!--    swithbutton-->
    <declare-styleable name="SwitchButton" tools:ignore="ResourceName">
        <attr name="kswThumbDrawable" format="reference" />
        <attr name="kswThumbColor" format="color|reference" />
        <attr name="kswThumbMargin" format="dimension|reference" />
        <attr name="kswThumbMarginTop" format="dimension|reference" />
        <attr name="kswThumbMarginBottom" format="dimension|reference" />
        <attr name="kswThumbMarginLeft" format="dimension|reference" />
        <attr name="kswThumbMarginRight" format="dimension|reference" />
        <attr name="kswThumbWidth" format="dimension|reference" />
        <attr name="kswThumbHeight" format="dimension|reference" />
        <attr name="kswThumbRadius" format="dimension|reference" />
        <attr name="kswBackRadius" format="dimension|reference" />
        <attr name="kswBackDrawable" format="reference" />
        <attr name="kswBackColor" format="color|reference" />
        <attr name="kswFadeBack" format="boolean" />
        <attr name="kswThumbRangeRatio" format="float" />
        <attr name="kswAnimationDuration" format="integer" />
        <attr name="kswTintColor" format="color|reference" />
        <attr name="kswTextOn" format="string" />
        <attr name="kswTextOff" format="string" />
        <attr name="kswTextThumbInset" format="dimension" />
        <attr name="kswTextExtra" format="dimension" />
        <attr name="kswTextAdjust" format="dimension" />
    </declare-styleable>
    <!---->
</resources>