oasystem/baselib/src/main/res/values/attrs.xml

223 lines
9.8 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--扩散圆颜色-->
<attr name="diffuse_color" format="color" />
<!--中心圆颜色-->
<attr name="diffuse_coreColor" format="color" />
<!--中心圆图片-->
<attr name="diffuse_coreImage" format="reference" />
<!--中心圆半径-->
<attr name="diffuse_coreRadius" format="float" />
<!--扩散圆宽度,值越小越宽-->
<attr name="diffuse_width" format="integer" />
<!--最大扩散宽度-->
<attr name="diffuse_maxWidth" format="integer" />
<!--扩散速度,值越大越快-->
<attr name="diffuse_speed" format="integer" />
<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" />
<attr name="text_type_cus" format="integer" />
<attr name="text_show_line" format="boolean" />
<attr name="text_show_hint" format="boolean" />
<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="TypeFaceTextView">
<attr name="text_type_cus" />
<attr name="text_show_line" />
<attr name="text_show_hint" />
</declare-styleable>
<declare-styleable name="DiffuseView">
<attr name="diffuse_color" />
<attr name="diffuse_coreColor" />
<attr name="diffuse_coreImage" />
<attr name="diffuse_coreRadius" />
<attr name="diffuse_width" />
<attr name="diffuse_maxWidth" />
<attr name="diffuse_speed" />
</declare-styleable>
<declare-styleable name="XTabLayout">
<attr name="xTabIndicatorHeight" format="dimension" />
<attr name="xTabIndicatorWidth" format="dimension" />
<attr name="xTabIndicatorColor" format="color" />
<attr name="xTabPadding" format="dimension" />
<attr name="xTabPaddingStart" format="dimension" />
<attr name="xTabPaddingTop" format="dimension" />
<attr name="xTabPaddingEnd" format="dimension" />
<attr name="xTabPaddingBottom" format="dimension" />
<attr name="xTabTextAppearance" format="reference" />
<attr name="xTabTextColor" format="color" />
<attr name="xTabSelectedTextColor" format="color" />
<attr name="xTabMinWidth" format="dimension" />
<attr name="xTabMaxWidth" format="dimension" />
<attr name="xTabBackgroundColor" format="reference|color" />
<attr name="xTabSelectedBackgroundColor" format="reference|color" />
<attr name="xTabContentStart" format="dimension" />
<attr name="xTabMode">
<enum name="scrollable" value="0x00000000" />
<enum name="fixed" value="0x00000001" />
</attr>
<attr name="xTabGravity" format="integer" />
<attr name="xTabTextSize" format="dimension" />
<attr name="xTabTextBold" format="boolean" />
<attr name="xTabSelectedTextSize" format="dimension" />
<attr name="xTabTextSelectedBold" format="boolean" />
<attr name="xTabDisplayNum" format="integer" />
<attr name="xTabTextAllCaps" format="boolean" />
<attr name="xTabDividerHeight" format="dimension" />
<attr name="xTabDividerWidth" format="dimension" />
<attr name="xTabDividerWidthWidthText" format="boolean" />
<attr name="xTabDividerColor" format="color" />
<attr name="xTabDividerGravity">
<enum name="top" value="0x00000000" />
<enum name="center" value="0x00000001" />
<enum name="bottom" value="0x00000002" />
</attr>
</declare-styleable>
<declare-styleable name="FlowViewHorizontal">
<attr name="h_bg_radius" format="dimension" />
<attr name="h_pro_radius" format="dimension" />
<attr name="h_bg_width" format="dimension" />
<attr name="h_bg_color" format="color" />
<attr name="h_pro_width" format="dimension" />
<attr name="h_pro_color" format="color" />
<attr name="h_text_padding" format="dimension" />
<attr name="h_time_padding" format="dimension" />
<attr name="h_max_step" format="integer" />
<attr name="h_textsize" format="dimension" />
<attr name="h_pro_step" format="integer" />
</declare-styleable>
<declare-styleable name="StateButton">
<!--text color-->
<attr name="normalTextColor" format="color|reference" />
<attr name="pressedTextColor" format="color|reference" />
<attr name="unableTextColor" format="color|reference" />
<!--stroke width and color, dash width, dash gap-->
<attr name="strokeDashWidth" format="dimension|reference" />
<attr name="strokeDashGap" format="dimension|reference" />
<attr name="normalStrokeWidth" format="dimension|reference" />
<attr name="pressedStrokeWidth" format="dimension|reference" />
<attr name="unableStrokeWidth" format="dimension|reference" />
<attr name="normalStrokeColor" format="color|reference" />
<attr name="pressedStrokeColor" format="color|reference" />
<attr name="unableStrokeColor" format="color|reference" />
<!--background color-->
<attr name="normalBackgroundColor" format="color|reference" />
<attr name="pressedBackgroundColor" format="color|reference" />
<attr name="unableBackgroundColor" format="color|reference" />
<!--background radius-->
<attr name="btnRadius" format="dimension|reference" />
<attr name="btnRound" format="boolean|reference" />
<!--animation duration-->
<attr name="animationDuration" format="integer|reference" />
</declare-styleable>
<declare-styleable name="IndicatorView">
<attr name="indicatorColor" format="color" />
<attr name="indicatorColorSelected" format="color" />
<attr name="indicatorWidth" format="integer" />
<attr name="gravity" format="integer" />
</declare-styleable>
<declare-styleable name="LimitEmojiEditText">
<attr name="dataType" format="integer" />
</declare-styleable>
<!-- 自定义星星属性 -->
<declare-styleable name="star">
<!-- //星星数量-->
<attr name="starsNum" format="integer" />
<!-- //星星宽度-->
<attr name="starWidth" format="dimension" />
<!-- //星星高度-->
<attr name="starHeight" format="dimension" />
<!-- //星星间距-->
<attr name="starDistance" format="dimension" />
<!-- //星星背景-->
<attr name="starBackground" format="reference" />
<!-- //星星变化背景-->
<attr name="starDrawBackground" format="reference" />
<!-- //控件是否可以点击-->
<attr name="starClickable" format="boolean" />
</declare-styleable>
<declare-styleable name="ExpandableLinearLayout">
<!--默认显示的条目数-->
<attr name="defaultItemCount" format="integer" />
<!--提示文字的大小-->
<attr name="tipTextSize" format="dimension" />
<!--字体颜色-->
<attr name="tipTextColor" format="color" />
<!--待展开的文字提示-->
<attr name="expandText" format="string" />
<!--待收起时的文字提示-->
<attr name="hideText" format="string" />
<!--向下的箭头的图标-->
<attr name="arrowDownImg" format="reference" />
<!--是否使用默认的底部-->
<attr name="useDefaultBottom" format="boolean" />
</declare-styleable>
<declare-styleable name="BubbleView">
<attr name="arrowWidth" format="dimension" />
<attr name="angle" format="dimension" />
<attr name="arrowHeight" format="dimension" />
<attr name="arrowPosition" format="dimension" />
<attr name="bubbleColor" format="color" />
<attr name="arrowLocation" format="enum">
<enum name="left" value="0x00" />
<enum name="right" value="0x01" />
<enum name="top" value="0x02" />
<enum name="bottom" value="0x03" />
</attr>
</declare-styleable>
<declare-styleable name="PageNavigationView">
<attr name="NavigationPaddingTop" format="dimension" />
<attr name="NavigationPaddingBottom" format="dimension" />
</declare-styleable>
<declare-styleable name="NumberButton">
<attr name="editable" format="boolean" />
<attr name="buttonWidth" format="dimension" />
<attr name="editextWidth" format="dimension" />
<attr name="textSize" format="dimension" />
<attr name="textColor" format="color" />
<attr name="backgroud" format="reference" />
<attr name="individer" format="reference" />
<attr name="addBackground" format="reference" />
<attr name="subBackground" format="reference" />
</declare-styleable>
<!-- 自定义textview控制drawable居中大小 -->
<declare-styleable name="TextViewDrawable">
<attr name="drawableLeftWidth" format="dimension" />
<attr name="drawableTopWidth" format="dimension" />
<attr name="drawableRightWidth" format="dimension" />
<attr name="drawableLeftHeight" format="dimension" />
<attr name="drawableTopHeight" format="dimension" />
<attr name="drawableRightHeight" format="dimension" />
<attr name="drawableBottomHeight" format="dimension" />
<attr name="drawableBottomWidth" format="dimension" />
<attr name="isAliganCenter" format="boolean" />
</declare-styleable>
</resources>