Visual_Novel_Android/VisualNovel/app/src/main/res/values/attrs.xml

1452 lines
48 KiB
XML
Raw Normal View History

2025-10-21 05:32:05 +00:00
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 公共背景属性 -->
<!-- 字体 -->
<attr name="textToken"
format="string" />
<!-- 字体颜色 ,如果是渐变色,其他状态颜色不会生效 -->
<attr name="textColorToken"
format="string" />
<attr name="textHintColorToken"
format="string" />
<!-- 圆角 -->
<attr name="radiusToken"
format="string" />
<!-- 分别四个圆角,单独会顶替上面圆角 -->
<attr name="topLeftRadiusToken"
format="string" />
<attr name="topRightRadiusToken"
format="string" />
<attr name="bottomLeftRadiusToken"
format="string" />
<attr name="bottomRightRadiusToken"
format="string" />
<!-- 背景颜色 -->
<attr name="backgroundColorToken"
format="string" />
<attr name="backgroundPressedColorToken"
format="string" />
<attr name="backgroundHoveredColorToken"
format="string" />
<attr name="backgroundDisabledColorToken"
format="string" />
<!-- 描边颜色 -->
<attr name="strokeColorToken"
format="string" />
<attr name="strokePressedColorToken"
format="string" />
<attr name="strokeHoveredColorToken"
format="string" />
<attr name="strokeDisabledColorToken"
format="string" />
<!-- 描边宽度 -->
<attr name="strokeWidthToken"
format="string" />
<!-- 描边虚线 -->
<attr name="strokeDashWidth"
format="dimension" />
<attr name="strokeDashGap"
format="dimension" />
<!-- 阴影 -->
<attr name="outlineToken"
format="string" />
<!-- 扩大点击区域 -->
<attr name="xClickExpend"
format="dimension" />
<attr name="yClickExpend"
format="dimension" />
<attr name="radioCheck"
format="boolean" />
<declare-styleable name="UITokenTextView">
<!-- 字体 -->
<attr name="textToken" />
<attr name="textColorToken" />
<attr name="textPressedColorToken"
format="string" />
<attr name="textHoveredColorToken"
format="string" />
<attr name="textDisabledColorToken"
format="string" />
<attr name="textHintColorToken" />
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
<attr name="onlyIconFont"
format="boolean" />
<attr name="fixTextIsSelectable"
format="boolean" />
<attr name="underline"
format="boolean" />
<attr name="textLinkColorToken"
format="string" />
</declare-styleable>
<declare-styleable name="UITokenEditView">
<!-- 字体 -->
<attr name="textToken" />
<attr name="textColorToken" />
<attr name="textHintColorToken" />
<attr name="textDisabledColorToken" />
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenImageView">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenFrameLayout">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenRelativeLayout">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenLinearLayout">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenConstraintLayout">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
<attr name="backgroundHoveredColorToken" />
<attr name="backgroundDisabledColorToken" />
<attr name="strokeColorToken" />
<attr name="strokePressedColorToken" />
<attr name="strokeHoveredColorToken" />
<attr name="strokeDisabledColorToken" />
<attr name="strokeWidthToken" />
<attr name="strokeDashWidth" />
<attr name="strokeDashGap" />
<attr name="outlineToken" />
<attr name="xClickExpend" />
<attr name="yClickExpend" />
</declare-styleable>
<declare-styleable name="UITokenProgressBar">
<!-- 公共背景属性 -->
<attr name="radiusToken" />
<attr name="topLeftRadiusToken" />
<attr name="topRightRadiusToken" />
<attr name="bottomLeftRadiusToken" />
<attr name="bottomRightRadiusToken" />
<attr name="backgroundColorToken" />
<attr name="backgroundPressedColorToken" />
</declare-styleable>
<attr name="buttonOverrideAttr"
format="boolean" />
<declare-styleable name="IconButtonView">
<attr name="buttonOverrideAttr" />
<attr name="iconButtonRadius">
<enum name="rectangle"
value="0" />
<enum name="round"
value="1" />
</attr>
<attr name="iconButtonSizeType">
<enum name="large"
value="0" />
<enum name="medium"
value="1" />
<enum name="small"
value="2" />
<enum name="xsmall"
value="3" />
<enum name="xxsmall"
value="4" />
</attr>
<attr name="iconButtonName"
format="string">
<enum name="DefaultIconButton_Primary"
value="0" />
<enum name="DefaultIconButton_Secondary"
value="1" />
<enum name="DefaultIconButton_Tertiary"
value="2" />
<enum name="GhostIconButton"
value="3" />
<enum name="GhostIconButton_Secondary"
value="4" />
<enum name="ContrastButton_Secondary"
value="5" />
<enum name="ContrastButton_Tertiary_Dark"
value="6" />
<enum name="ContrastButton_Tertiary_Light"
value="7" />
<enum name="NavButton"
value="8" />
<enum name="NavButton_OnPic"
value="9" />
</attr>
</declare-styleable>
<declare-styleable name="TextButtonView">
<attr name="textButtonSizeType">
<enum name="large"
value="0" />
<enum name="medium"
value="1" />
<enum name="small"
value="2" />
</attr>
<attr name="textButtonName"
format="string">
<enum name="TextButton_Primary"
value="0" />
<enum name="TextButton_Secondary"
value="1" />
<enum name="TextButton_Tertiary"
value="2" />
</attr>
<attr name="textButtonUnderLine"
format="boolean" />
</declare-styleable>
<declare-styleable name="ButtonView">
<attr name="buttonOverrideAttr" />
<attr name="buttonSizeType">
<enum name="large"
value="0" />
<enum name="small"
value="1" />
</attr>
<attr name="buttonName"
format="string">
<enum name="DefaultButton_Primary"
value="0" />
<enum name="DefaultButton_Secondary"
value="1" />
<enum name="DefaultButton_Tertiary"
value="2" />
<enum name="DefaultButton_Destructive"
value="3" />
<enum name="ContrastButton_Primary"
value="4" />
<enum name="ContrastButton_Secondary"
value="5" />
<enum name="ContrastButton_Tertiary_Light"
value="6" />
<enum name="ContrastButton_Tertiary_Dark"
value="7" />
<enum name="GhostButton_Primary"
value="8" />
<enum name="GhostButton_Secondary"
value="9" />
<enum name="ContextButton_Subscribe"
value="10" />
<enum name="IconButton_Primary"
value="11" />
<enum name="IconButton_Tertiary"
value="12" />
<enum name="DefaultButton_VIP"
value="13" />
</attr>
</declare-styleable>
<declare-styleable name="SmallUploadView">
<!-- 单张预览,多张预览自行在adapter实现大图显示 -->
<attr name="imageSingleView"
format="boolean" />
<attr name="radiusToken" />
</declare-styleable>
<declare-styleable name="RectangleIndicator">
<attr name="rectangleSize">
<enum name="xsmall"
value="1" />
<enum name="small"
value="2" />
</attr>
</declare-styleable>
<attr name="tagViewSize"
format="integer">
<enum name="large"
value="1" />
<enum name="small"
value="2" />
</attr>
<declare-styleable name="ColorSupportTagView">
<attr name="tagViewSize" />
<attr name="tagBackgroundColorType">
<enum name="Default"
value="0" />
<enum name="Primary"
value="1" />
<enum name="Warning"
value="2" />
<enum name="Positive"
value="3" />
<enum name="Emphasis"
value="4" />
<enum name="Important"
value="5" />
</attr>
<attr name="tagBackgroundColorToken"
format="string" />
</declare-styleable>
<declare-styleable name="ContextTagView">
<attr name="contextTagType">
<enum name="pricePromotion"
value="1" />
<enum name="subscribe"
value="2" />
<enum name="legends"
value="3" />
<enum name="legends_b"
value="4" />
</attr>
</declare-styleable>
<declare-styleable name="OfficialTagView">
<attr name="officialTagType">
<enum name="official"
value="1" />
<enum name="host"
value="2" />
<enum name="vipService"
value="3" />
</attr>
</declare-styleable>
<declare-styleable name="PrimaryTagView">
<attr name="tagViewSize" />
<attr name="primaryTagType">
<enum name="defaultTag"
value="1" />
<enum name="whiteOnColor"
value="2" />
<enum name="blackOnColor"
value="3" />
</attr>
</declare-styleable>
<declare-styleable name="BadgeView">
<attr name="badgeType">
<enum name="small"
value="1" />
<enum name="number"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="ImageWithSelect">
<attr name="imageSelectSize">
<enum name="M"
value="1" />
<enum name="L"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="RadioCheckButton">
<attr name="radioCheck" />
<attr name="radioNormalDrawable"
format="reference" />
</declare-styleable>
<declare-styleable name="RadioOnPicButton">
<attr name="radioCheck" />
</declare-styleable>
<declare-styleable name="CheckBoxButton">
<attr name="radioCheck" />
</declare-styleable>
<declare-styleable name="NicknameFlexboxLayout">
<attr name="textToken" />
<attr name="textColorToken" />
<attr name="nicknameIconSize"
format="dimension" />
</declare-styleable>
<declare-styleable name="SwitchView">
<attr name="switchColorStyle">
<enum name="purple"
value="0" />
<enum name="green"
value="1" />
</attr>
<attr name="switchSize">
<enum name="large"
value="0" />
<enum name="small"
value="1" />
<enum name="xsmall"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="OptionalTokenTextView">
<attr name="textToken" />
<attr name="textColorToken" />
<attr name="showOptional"
format="boolean" />
<attr name="android:text" />
</declare-styleable>
<declare-styleable name="UserAvatarView">
<attr name="avatarBorder"
format="boolean" />
<attr name="avatarBorderType">
<enum name="white"
value="1" />
<enum name="black"
value="2" />
</attr>
<attr name="avatarSize"
format="dimension" />
<attr name="onlineStatusSize"
format="dimension" />
<attr name="avatarFrameSize"
format="dimension" />
<attr name="avatarSizeType">
<enum name="XXL"
value="0" />
<enum name="XL"
value="1" />
<enum name="L"
value="2" />
<enum name="M"
value="3" />
<enum name="S"
value="4" />
</attr>
</declare-styleable>
<attr name="textFieldsTitle"
format="string" />
<attr name="textFieldsTitleColorToken"
format="string" />
<attr name="textFieldsShowTitleTips"
format="boolean" />
<attr name="textFieldsShowTitleTipsRes"
format="reference" />
<attr name="textFieldsShowTitleOptional"
format="boolean" />
<attr name="textFieldsTipsSupport"
format="string" />
<attr name="textFieldsTipsSupportTextToken"
format="string" />
<attr name="textFieldsTipsSupportColorToken"
format="string" />
<attr name="textFieldsInputContent"
format="string" />
<attr name="textFieldsInputHint"
format="string" />
<attr name="textFieldsInputHintColorToken"
format="string" />
<attr name="textFieldsTipsError"
format="string" />
<attr name="textFieldsTipsErrorColorToken"
format="string" />
<attr name="textFieldsInputMaxLength"
format="integer" />
<attr name="textFieldsInputIcon"
format="string" />
<attr name="textFieldsInputEnabled"
format="boolean" />
<declare-styleable name="TextFieldsSelectView">
<attr name="textFieldsTitle" />
<attr name="textFieldsTitleColorToken" />
<attr name="textFieldsShowTitleTips" />
<attr name="textFieldsShowTitleOptional" />
<attr name="textFieldsTipsSupport" />
<attr name="textFieldsTipsSupportColorToken" />
<attr name="textFieldsInputContent" />
<attr name="textFieldsInputHint" />
<attr name="textFieldsInputHintColorToken" />
<attr name="textFieldsTipsError" />
<attr name="textFieldsTipsErrorColorToken" />
<attr name="textFieldsInputMaxLength" />
<attr name="textFieldsSelectMode">
<enum name="single"
value="0" />
<enum name="multiple"
value="1" />
</attr>
<attr name="textFieldsInputIcon" />
<attr name="showInputIcon"
format="boolean" />
</declare-styleable>
<declare-styleable name="TextFieldsInputView">
<attr name="textFieldsTitle" />
<attr name="textFieldsShowTitleTips" />
<attr name="textFieldsShowTitleTipsRes" />
<attr name="textFieldsShowTitleOptional" />
<attr name="textFieldsTipsSupport" />
<attr name="textFieldsTipsSupportTextToken" />
<attr name="textFieldsTipsSupportColorToken" />
<attr name="textFieldsInputContent" />
<attr name="textFieldsInputHint" />
<attr name="textFieldsInputIcon" />
<attr name="textFieldsInputHintColorToken" />
<attr name="textFieldsTipsError" />
<attr name="textFieldsTipsErrorColorToken" />
<attr name="textFieldsInputMaxLength" />
<attr name="textFieldsInputMode">
<enum name="normal"
value="0" />
<enum name="pwd"
value="1" />
<enum name="phone"
value="2" />
<enum name="custom_icon"
value="3" />
<enum name="number_pwd"
value="4" />
<enum name="number"
value="5" />
</attr>
<attr name="textFieldsInputTheme">
<enum name="normal"
value="0" />
<enum name="dark"
value="1" />
</attr>
<attr name="preIcon"
format="reference|color" />
<attr name="isPhoneNumberInput"
format="boolean" />
<attr name="isLogin"
format="boolean" />
<attr name="textFieldsInputEnabled" />
</declare-styleable>
<declare-styleable name="TextFieldsInputArea">
<attr name="textFieldsTitle" />
<attr name="textFieldsShowTitleTips" />
<attr name="textFieldsShowTitleOptional" />
<attr name="textFieldsTipsSupport" />
<attr name="textFieldsInputContent" />
<attr name="textFieldsInputHint" />
<attr name="textFieldsTipsError" />
<attr name="textFieldsInputMaxLength" />
<attr name="textFieldsInputEnabled" />
<attr name="textFieldsInputMaxLines"
format="integer" />
<attr name="allowEnter"
format="boolean" />
<attr name="textFieldsSubTitle"
format="string" />
</declare-styleable>
<declare-styleable name="ClearInputView">
<attr name="textFieldsInputContent" />
<attr name="textFieldsInputHint" />
<attr name="textFieldsInputMaxLength" />
</declare-styleable>
<declare-styleable name="SortChooseView">
<attr name="defaultSort"
format="string" />
</declare-styleable>
<declare-styleable name="CropImageView">
<attr name="highlightColor"
format="reference|color" />
<attr name="showThirds"
format="boolean" />
<attr name="showCircle"
format="boolean" />
<attr name="showHandles">
<enum name="changing"
value="0" />
<enum name="always"
value="1" />
<enum name="never"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="TagFlowLayout">
<attr name="max_select"
format="integer" />
<attr name="tag_start_padding"
format="dimension" />
<attr name="tag_top_padding"
format="dimension" />
<attr name="tag_end_padding"
format="dimension" />
<attr name="tag_bottom_padding"
format="dimension" />
<attr name="tag_gravity">
<enum name="left"
value="-1" />
<enum name="center"
value="0" />
<enum name="right"
value="1" />
</attr>
</declare-styleable>
<declare-styleable name="RoundFrameLayout">
<attr name="radius"
format="dimension" />
<attr name="topLeftRadius"
format="dimension" />
<attr name="topRightRadius"
format="dimension" />
<attr name="bottomLeftRadius"
format="dimension" />
<attr name="bottomRightRadius"
format="dimension" />
</declare-styleable>
<!-- 自定义验证码输入框-->
<declare-styleable name="VerificationCodeView">
<!--输入框的数量-->
<attr name="vcv_et_number"
format="integer" />
<!--输入类型-->
<attr name="vcv_et_inputType">
<enum name="number"
value="0" />
<enum name="numberPassword"
value="1" />
<enum name="text"
value="2" />
<enum name="textPassword"
value="3" />
</attr>
<!--输入框文字颜色-->
<attr name="vcv_et_text_color"
format="color|reference" />
<attr name="vcv_et_text_color_token"
format="string" />
<!--输入框文字大小-->
<attr name="vcv_et_text_size"
format="dimension" />
<attr name="vcv_et_text_size_token"
format="string" />
<!--输入框背景-->
<attr name="vcv_et_bg"
format="reference" />
<attr name="vcv_et_bg_token"
format="string" />
<!--光标样式-->
<attr name="vcv_et_cursor"
format="reference" />
<!--是否隐藏光标-->
<attr name="vcv_et_cursor_visible"
format="boolean" />
<attr name="vcv_et_spacing"
format="dimension|reference" />
</declare-styleable>
<declare-styleable name="CircularProgressBar">
<attr name="cpb_progress"
format="integer" />
<attr name="cpb_progress_max"
format="integer" />
<attr name="cpb_indeterminate_mode"
format="boolean" />
<attr name="cpb_progressbar_color"
format="color" />
<attr name="cpb_progressbar_color_start"
format="color" />
<attr name="cpb_progressbar_color_end"
format="color" />
<attr name="cpb_progressbar_color_direction">
<flag name="left_to_right"
value="1" />
<flag name="right_to_left"
value="2" />
<flag name="top_to_bottom"
value="3" />
<flag name="bottom_to_top"
value="4" />
</attr>
<attr name="cpb_background_progressbar_color"
format="color" />
<attr name="cpb_background_progressbar_color_start"
format="color" />
<attr name="cpb_background_progressbar_color_end"
format="color" />
<attr name="cpb_background_progressbar_color_direction">
<flag name="left_to_right"
value="1" />
<flag name="right_to_left"
value="2" />
<flag name="top_to_bottom"
value="3" />
<flag name="bottom_to_top"
value="4" />
</attr>
<attr name="cpb_progressbar_width"
format="dimension" />
<attr name="cpb_background_progressbar_width"
format="dimension" />
<attr name="cpb_round_border"
format="boolean" />
<attr name="cpb_start_angle"
format="float" />
<attr name="cpb_progress_direction">
<flag name="to_right"
value="1" />
<flag name="to_left"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="FlowLayout">
<attr name="flFlow"
format="boolean" />
<attr name="flChildSpacing"
format="enum|dimension">
<enum name="auto"
value="-65536" />
</attr>
<attr name="flMinChildSpacing"
format="dimension" />
<attr name="flChildSpacingForLastRow"
format="enum|dimension">
<enum name="auto"
value="-65536" />
<enum name="align"
value="-65537" />
</attr>
<attr name="flRowSpacing"
format="enum|dimension">
<enum name="auto"
value="-65536" />
</attr>
<attr name="flRtl"
format="boolean" />
<attr name="flMaxRows"
format="integer" />
<attr name="flRowVerticalGravity"
format="enum">
<enum name="auto"
value="-65536" />
<enum name="top"
value="0x30" />
<enum name="center"
value="0x10" />
<enum name="bottom"
value="0x50" />
</attr>
<attr name="android:gravity" />
</declare-styleable>
<declare-styleable name="IconFontTextView">
<attr name="iconFontStart"
format="string" />
<attr name="iconFontEnd"
format="string" />
<attr name="iconFontTop"
format="string" />
<attr name="iconFontBottom"
format="string" />
<attr name="iconFontDrawablePadding"
format="dimension" />
<attr name="iconFontSize"
format="dimension" />
<attr name="iconFontColorToken"
format="string" />
</declare-styleable>
<declare-styleable name="ShapeBlurView">
<!-- 高斯模糊半径值越大越模糊0<r<=25 -->
<attr name="blur_radius"
format="dimension" />
<!-- 采样参数 -->
<attr name="blur_down_sample"
format="float" />
<!-- 毛玻璃覆盖颜色 -->
<attr name="blur_overlay_color"
format="color" />
<!-- 矩形时圆角半径4个角一样 -->
<attr name="blur_corner_radius"
format="dimension" />
<attr name="blur_corner_radius_top_left"
format="dimension" />
<attr name="blur_corner_radius_top_right"
format="dimension" />
<attr name="blur_corner_radius_bottom_left"
format="dimension" />
<attr name="blur_corner_radius_bottom_right"
format="dimension" />
<!-- 边框线条宽度 -->
<attr name="blur_border_width"
format="dimension" />
<!-- 边框线条颜色 -->
<attr name="blur_border_color"
format="color" />
<!-- 样式rectangle矩形circle圆形oval椭圆 -->
<attr name="blur_mode">
<enum name="rectangle"
value="0" />
<enum name="circle"
value="1" />
<enum name="oval"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="RoundedImageView">
<attr name="riv_corner_radius"
format="dimension" />
<attr name="riv_corner_radius_top_left"
format="dimension" />
<attr name="riv_corner_radius_top_right"
format="dimension" />
<attr name="riv_corner_radius_bottom_left"
format="dimension" />
<attr name="riv_corner_radius_bottom_right"
format="dimension" />
<attr name="riv_border_width"
format="dimension" />
<attr name="riv_border_color"
format="color" />
<attr name="riv_mutate_background"
format="boolean" />
<attr name="riv_oval"
format="boolean" />
<attr name="android:scaleType" />
<attr name="riv_tile_mode">
<enum name="clamp"
value="0" />
<enum name="repeat"
value="1" />
<enum name="mirror"
value="2" />
</attr>
<attr name="riv_tile_mode_x">
<enum name="clamp"
value="0" />
<enum name="repeat"
value="1" />
<enum name="mirror"
value="2" />
</attr>
<attr name="riv_tile_mode_y">
<enum name="clamp"
value="0" />
<enum name="repeat"
value="1" />
<enum name="mirror"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="NumberProgressBar">
<attr name="progress_current"
format="integer" />
<attr name="progress_max"
format="integer" />
<attr name="progress_unreached_color"
format="color|reference" />
<attr name="progress_reached_color"
format="color|reference" />
<attr name="progress_reached_bar_height"
format="dimension" />
<attr name="progress_unreached_bar_height"
format="dimension" />
<attr name="progress_text_size"
format="dimension" />
<attr name="progress_text_color"
format="color|reference" />
<attr name="progress_text_offset"
format="dimension" />
<attr name="progress_text_visibility"
format="enum">
<enum name="visible"
value="0" />
<enum name="invisible"
value="1" />
</attr>
</declare-styleable>
<declare-styleable name="ZEditText">
<attr name="passwordText"
format="string" />
<!-- 输入的文字的个数 -->
<attr name="inputCount"
format="integer" />
<!-- 文字之间的间距 -->
<attr name="space"
format="dimension" />
<!-- 是否保持文字正方形 -->
<attr name="isSquare"
format="boolean" />
<!-- 文字的背景 -->
<attr name="textBackground"
format="reference" />
<!-- 是否是密码 -->
<attr name="isPassword"
format="boolean" />
<attr name="cursorDrawable"
format="reference" />
<attr name="cursorDrawableWidth"
format="dimension" />
<attr name="cursorDrawableHeight"
format="dimension" />
</declare-styleable>
<declare-styleable name="IndicatorProgressLayout">
<!-- 总进度 -->
<attr name="totalProgress"
format="integer" />
<!-- 当前进度 -->
<attr name="currentProgress"
format="integer" />
</declare-styleable>
<declare-styleable name="CalendarView">
<attr name="calendar_padding"
format="dimension" /><!--日历内部左右padding-->
<attr name="calendar_padding_left"
format="dimension" /><!--日历内部左padding-->
<attr name="calendar_padding_right"
format="dimension" /><!--日历内部右padding-->
<attr name="week_background"
format="color" /><!--周背景-->
<attr name="week_line_background"
format="color" /><!--线条颜色-->
<attr name="week_text_color"
format="color" /><!--周栏字体颜色-->
<attr name="week_text_size"
format="dimension" /><!--周栏字体大小-->
<attr name="week_line_margin"
format="dimension" /><!--线条margin-->
<attr name="month_view"
format="string" /><!--完全自定义月视图-->
<attr name="week_view"
format="string" /> <!--完全自定义周视图-->
<attr name="year_view"
format="string" /> <!--完全自定义年视图-->
<attr name="week_bar_height"
format="dimension" /> <!--星期栏的高度-->
<attr name="week_bar_view"
format="string" /> <!--如果需要的话使用自定义星期栏-->
<attr name="scheme_text"
format="string" />
<attr name="day_text_size"
format="dimension" />
<attr name="lunar_text_size"
format="dimension" />
<attr name="calendar_height"
format="dimension" />
<attr name="calendar_match_parent"
format="boolean" /> <!-- 全屏日历 -->
<attr name="scheme_text_color"
format="color" />
<attr name="scheme_month_text_color"
format="color" />
<attr name="scheme_lunar_text_color"
format="color" />
<attr name="scheme_theme_color"
format="color" />
<attr name="selected_theme_color"
format="color" />
<attr name="selected_text_color"
format="color" />
<attr name="selected_lunar_text_color"
format="color" />
<attr name="current_day_text_color"
format="color" />
<attr name="current_day_lunar_text_color"
format="color" />
<attr name="current_month_text_color"
format="color" />
<attr name="other_month_text_color"
format="color" />
<attr name="current_month_lunar_text_color"
format="color" />
<attr name="other_month_lunar_text_color"
format="color" />
<!-- 年视图相关 -->
<attr name="year_view_month_text_size"
format="dimension" />
<attr name="year_view_day_text_size"
format="dimension" />
<attr name="year_view_month_text_color"
format="color" />
<attr name="year_view_current_day_text_color"
format="color" />
<attr name="year_view_day_text_color"
format="color" />
<attr name="year_view_select_text_color"
format="color" />
<attr name="year_view_scheme_color"
format="color" />
<attr name="year_view_background"
format="color" />
<attr name="year_view_month_height"
format="dimension" />
<attr name="year_view_week_height"
format="dimension" />
<attr name="year_view_week_text_size"
format="dimension" />
<attr name="year_view_week_text_color"
format="color" />
<attr name="year_view_padding"
format="dimension" />
<attr name="year_view_padding_left"
format="dimension" />
<attr name="year_view_padding_right"
format="dimension" />
<attr name="year_view_month_padding_top"
format="dimension" />
<attr name="year_view_month_padding_left"
format="dimension" />
<attr name="year_view_month_padding_right"
format="dimension" />
<attr name="year_view_month_padding_bottom"
format="dimension" />
<!--日期范围-->
<attr name="min_year"
format="integer" />
<attr name="max_year"
format="integer" />
<attr name="min_year_month"
format="integer" />
<attr name="max_year_month"
format="integer" />
<attr name="min_year_day"
format="integer" />
<attr name="max_year_day"
format="integer" />
<!--月视图是否可滚动-->
<attr name="month_view_scrollable"
format="boolean" />
<!--周视图是否可滚动-->
<attr name="week_view_scrollable"
format="boolean" />
<!--年视图是否可滚动-->
<attr name="year_view_scrollable"
format="boolean" />
<!-- 月份显示模式 -->
<attr name="month_view_show_mode">
<enum name="mode_all"
value="0" />
<enum name="mode_only_current"
value="1" />
<enum name="mode_fix"
value="2" />
</attr>
<!-- 自定义周起始 -->
<attr name="week_start_with">
<enum name="sun"
value="1" />
<enum name="mon"
value="2" />
<enum name="sat"
value="7" />
</attr>
<!-- 自定义选择模式 -->
<attr name="select_mode">
<enum name="default_mode"
value="0" />
<enum name="single_mode"
value="1" />
<enum name="range_mode"
value="2" />
<enum name="multi_mode"
value="3" />
</attr>
<!-- when select_mode = multi_mode -->
<attr name="max_multi_select_size"
format="integer" />
<!-- when select_mode = range_mode -->
<attr name="min_select_range"
format="integer" />
<attr name="max_select_range"
format="integer" />
<!-- auto select day -->
<attr name="month_view_auto_select_day">
<enum name="first_day_of_month"
value="0" />
<enum name="last_select_day"
value="1" />
<enum name="last_select_day_ignore_current"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="CalendarLayout">
<attr name="default_status">
<enum name="expand"
value="0" />
<enum name="shrink"
value="1" />
</attr>
<!-- 手势模式 -->
<attr name="gesture_mode">
<enum name="default_mode"
value="0" />
<!--<enum name="only_calendar" value="1" />-->
<enum name="disabled"
value="2" />
</attr>
<attr name="calendar_show_mode">
<enum name="both_month_week_view"
value="0" />
<enum name="only_week_view"
value="1" />
<enum name="only_month_view"
value="2" />
</attr>
<attr name="calendar_content_view_id"
format="integer" />
</declare-styleable>
<declare-styleable name="SimpleVoiceButton">
<attr name="voiceViewWidth"
format="dimension" />
<attr name="backgroundColorToken" />
</declare-styleable>
<declare-styleable name="RemovableChipView">
<attr name="chipIconDirection">
<enum name="start"
value="1" />
<enum name="end"
value="2" />
</attr>
<attr name="iconFont"
format="string" />
</declare-styleable>
<declare-styleable name="LockTagView">
<attr name="lockTagLabel">
<enum name="publicLabel"
value="1" />
<enum name="privateLabel"
value="2" />
</attr>
<attr name="lockTagType">
<enum name="all"
value="1" />
<enum name="ltrb"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="LockViewGroup">
<attr name="radiusToken" />
<attr name="lockViewGroupSize">
<enum name="small"
value="1" />
<enum name="large"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="LikeView">
<attr name="likeViewBg">
<enum name="dark"
value="1" />
<enum name="transparent"
value="2" />
</attr>
</declare-styleable>
<declare-styleable name="PriceView">
<attr name="priceIconSize"
format="dimension" />
<attr name="priceIconPadding"
format="dimension" />
<attr name="priceTextToken"
format="string" />
<attr name="priceText"
format="string" />
</declare-styleable>
<declare-styleable name="TagIconView">
<attr name="tagIconContent"
format="string" />
<attr name="tagIconFont"
format="string" />
<attr name="tagIconType">
<enum name="ELEMENT"
value="1" />
<enum name="ELEMENT_LIGHT"
value="2" />
<enum name="ELEMENT_DARK"
value="3" />
<enum name="MINT"
value="4" />
<enum name="BLUE"
value="5" />
<enum name="VIOLET"
value="6" />
<enum name="MAGENTA"
value="7" />
<enum name="ORANGE"
value="8" />
<enum name="GRADIENT_PRIMARY"
value="9" />
<enum name="GRADIENT_SECOND"
value="10" />
</attr>
<attr name="tagIconSize">
<enum name="SIZE_L"
value="1" />
<enum name="SIZE_M"
value="2" />
<enum name="SIZE_S"
value="3" />
</attr>
</declare-styleable>
<declare-styleable name="SearchEditView">
<attr name="searchViewSize">
<enum name="large"
value="1" />
<enum name="small"
value="2" />
</attr>
<attr name="searchViewHeight"
format="dimension" />
<attr name="searchViewMaxLength"
format="integer" />
<attr name="searchHint"
format="string" />
<attr name="fakeSearch"
format="boolean" />
<attr name="searchIconColorToken"
format="string" />
<attr name="searchIconIsShow"
format="boolean" />
</declare-styleable>
<attr name="scaleFactor"
format="float" />
<declare-styleable name="StackCardsView">
<attr name="maxVisibleCnt"
format="integer" />
<attr name="edgeHeight"
format="dimension" />
<attr name="scaleFactor" />
<attr name="alphaFactor"
format="float" />
<attr name="dismissFactor"
format="float" />
<attr name="dismissAlpha"
format="float" />
<attr name="dragSensitivity"
format="float" />
<attr name="itemWidth"
format="dimension" />
<attr name="itemHeight"
format="dimension" />
</declare-styleable>
<declare-styleable name="SrcLoopScrollFrameLayout">
<!--背景图片-->
<attr name="src" format="reference" />
<!--遮罩层颜色,建议带透明度-->
<attr name="maskLayerColor" format="color" />
<!--是否滚动-->
<attr name="isScroll" format="boolean" />
<!--滚动速度,建议取值区间 [1,50] -->
<attr name="speed" format="enum">
<enum name="slow" value="1" />
<enum name="ordinary" value="3" />
<enum name="fast" value="5" />
</attr>
<!-- 滚动方向,默认是竖直方向滚动-->
<attr name="scrollOrientation" format="enum">
<enum name="toTop" value="0" />
<enum name="toBottom" value="1" />
<enum name="toLeft" value="2" />
<enum name="toRight" value="3" />
</attr>
</declare-styleable>
<!-- new added -->
<!--<declare-styleable name="TagFlowLayout2">
<attr name="tag_horizontal_spacing" format="dimension" />
<attr name="tag_vertical_spacing" format="dimension" />
<attr name="tag_text_size" format="dimension" />
<attr name="tag_text_color" format="color" />
<attr name="tag_background" format="reference" />
<attr name="tag_max_lines" format="integer" />
<attr name="expand_indicator_drawable" format="reference" />
<attr name="collapse_indicator_drawable" format="reference" />
</declare-styleable>-->
<declare-styleable name="TagFlowLayout2">
<attr name="tag_horizontal_spacing" format="dimension" />
<attr name="tag_vertical_spacing" format="dimension" />
<attr name="tag_text_size" format="dimension" />
<attr name="tag_text_color" format="color" />
<attr name="tag_background" format="reference" />
<attr name="tag_max_lines" format="integer" />
2025-10-21 06:57:36 +00:00
<attr name="tag_expand_drawable" format="reference" />
<attr name="tag_shrink_drawable" format="reference" />
<attr name="tag_each_line_max_num" format="integer" />
2025-10-21 05:32:05 +00:00
</declare-styleable>
</resources>