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

    <!--圆形-->
    <attr name="sobot_round_as_circle" format="boolean" />
    <!--全部圆角半径-->
    <attr name="sobot_round_corner" format="integer|dimension" />
    <!--针对各个角的半径-->
    <attr name="sobot_round_corner_top_left" format="integer|dimension" />
    <attr name="sobot_round_corner_top_right" format="integer|dimension" />
    <attr name="sobot_round_corner_bottom_left" format="integer|dimension" />
    <attr name="sobot_round_corner_bottom_right" format="integer|dimension" />

    <!--描边颜色／半径-->
    <attr name="sobot_stroke_color" format="color|reference" />
    <attr name="sobot_stroke_width" format="integer|dimension" />

    <!-- 是否剪裁 RCLayout 的背景 -->
    <attr name="sobot_clip_background" format="boolean" />

    <!--真正用于解析的属性-->
    <declare-styleable name="SobotRCAttrs">
        <attr name="sobot_round_as_circle" />
        <attr name="sobot_round_corner" />
        <attr name="sobot_round_corner_top_left" />
        <attr name="sobot_round_corner_top_right" />
        <attr name="sobot_round_corner_bottom_left" />
        <attr name="sobot_round_corner_bottom_right" />
        <attr name="sobot_stroke_color" />
        <attr name="sobot_stroke_width" />
        <attr name="sobot_clip_background" />
    </declare-styleable>

    <!--假体：用于提示-->
    <declare-styleable name="sobot_RCRelativeLayout">
        <attr name="sobot_round_as_circle" />
        <attr name="sobot_round_corner" />
        <attr name="sobot_round_corner_top_left" />
        <attr name="sobot_round_corner_top_right" />
        <attr name="sobot_round_corner_bottom_left" />
        <attr name="sobot_round_corner_bottom_right" />
        <attr name="sobot_stroke_color" />
        <attr name="sobot_stroke_width" />
        <attr name="sobot_clip_background" />
    </declare-styleable>

    <declare-styleable name="sobot_RCImageView">
        <attr name="sobot_round_as_circle" />
        <attr name="sobot_round_corner" />
        <attr name="sobot_round_corner_top_left" />
        <attr name="sobot_round_corner_top_right" />
        <attr name="sobot_round_corner_bottom_left" />
        <attr name="sobot_round_corner_bottom_right" />
        <attr name="sobot_stroke_color" />
        <attr name="sobot_stroke_width" />
        <attr name="sobot_clip_background" />
    </declare-styleable>
</resources>