<?xml version="1.0" encoding="utf-8"?>
|
<resources>
|
|
<declare-styleable name="OcDialView">
|
|
<!--最大刻度值-->
|
<attr name="maxScale" format="integer" />
|
<attr name="minScale" format="integer" />
|
<attr name="scaleGap" format="integer" />
|
|
<!--刻度-->
|
<attr name="scaleHeight" format="dimension" />
|
<attr name="scaleWidth" format="dimension" />
|
<attr name="scaleColor" format="color|reference" />
|
|
<!--指针-->
|
<attr name="pointerHeight" format="dimension" />
|
<attr name="pointerWidth" format="dimension" />
|
<attr name="pointerColor" format="color|reference" />
|
<!--指针左边范围或者右边范围-->
|
<attr name="pointerLimit" format="integer" />
|
<!--文字大小-->
|
<attr name="android:textSize" />
|
<attr name="android:textColor" />
|
</declare-styleable>
|
|
<attr name="markColor" format="color|reference" />
|
<attr name="markSize" format="dimension" />
|
|
<declare-styleable name="SeekBarView">
|
<!--背景-->
|
<attr name="trackTopLeftRadius" format="dimension" />
|
<attr name="trackTopRightRadius" format="dimension" />
|
<attr name="trackBottomLeftRadius" format="dimension" />
|
<attr name="trackBottomRightRadius" format="dimension" />
|
<attr name="trackRadius" format="dimension" />
|
|
<!--滑动轨迹-->
|
<attr name="thumbTopLeftRadius" format="dimension" />
|
<attr name="thumbTopRightRadius" format="dimension" />
|
<attr name="thumbBottomLeftRadius" format="dimension" />
|
<attr name="thumbBottomRightRadius" format="dimension" />
|
<attr name="thumbRadius" format="dimension" />
|
|
<attr name="trackColor" format="color|reference" />
|
<attr name="trackSecondColor" format="color|reference" />
|
<attr name="thumbColor" format="color|reference" />
|
<attr name="thumbSecondColor" format="color|reference" />
|
|
<attr name="markColor" />
|
<attr name="markSize" />
|
|
<attr name="maxProgress" format="integer" />
|
<attr name="minProgress" format="integer" />
|
<attr name="progress" format="integer" />
|
<attr name="barSize" format="dimension" />
|
|
<attr name="orientation">
|
<enum name="horizontal" value="0" />
|
<enum name="vertical" value="1" />
|
</attr>
|
|
</declare-styleable>
|
|
|
<attr name="currentColor" format="color|reference" />
|
<declare-styleable name="RingColorPicker">
|
<!--默认角度-->
|
<attr name="angle" format="float" />
|
<!--圆形选择器填充色-->
|
<attr name="markBackground" format="color|reference" />
|
<!--圆形选择器边框颜色-->
|
<attr name="markStrokeColor" format="color|reference" />
|
<!--圆形选择器描边-->
|
<attr name="isMarkStroke" format="boolean" />
|
<!--圆环宽度-->
|
<attr name="ringWidth" format="dimension" />
|
<!--选择器自动色-->
|
<attr name="isMarkAutoColor" format="boolean" />
|
<!--扩散特效透明度-->
|
<attr name="spreadAlpha" format="integer" />
|
<!--选择器描边宽度-->
|
<attr name="markStrokeWidth" format="dimension|reference" />
|
<!--中心按钮图像资源-->
|
<attr name="srcCompat" />
|
<!--中心按钮图像透明度-->
|
<attr name="centerImageAlpha" format="integer" />
|
<!--中心复选状态-->
|
<attr name="checked" format="boolean" />
|
<!--当前指向的颜色-->
|
<attr name="currentColor" />
|
<!--过滤颜色-->
|
<attr name="tint" />
|
<!--视图样式-->
|
<attr name="colorPickerStyle" format="enum">
|
<enum name="MARK_RING_INNER" value="0" />
|
<enum name="MARK_RING_OUTER" value="1" />
|
<enum name="MARK_RING_DOWN_OUTER" value="2" />
|
</attr>
|
</declare-styleable>
|
|
<declare-styleable name="RGBColorPicker">
|
<attr name="markColor" />
|
<attr name="markSize" />
|
<attr name="currentColor" />
|
</declare-styleable>
|
|
<!--类似首页卡片用到-->
|
<attr name="cardBackgroundColor" format="color" />
|
<attr name="cardBorderWidth" format="reference|dimension" />
|
<attr name="cardRadius" format="reference|dimension" />
|
<declare-styleable name="ExpandLayout">
|
<attr name="android:radius" />
|
|
<attr name="cardBorderWidth" />
|
<attr name="cardBackgroundColor" />
|
|
</declare-styleable>
|
|
|
<declare-styleable name="CardLayout">
|
<attr name="cardRadius" />
|
<attr name="cardBorderWidth" />
|
<attr name="cardBackgroundColor" />
|
</declare-styleable>
|
<!--类似首页卡片用到-->
|
|
<!--角标-->
|
<declare-styleable name="BadgeView">
|
<attr name="badgePadding" format="reference|dimension" />
|
<attr name="badgeTextSize" format="reference|dimension" />
|
<attr name="badgeBackgroundColor" format="color|reference" />
|
<attr name="badgeBorderWidth" format="reference|dimension" />
|
<attr name="badgeBorderColor" format="reference|dimension" />
|
<attr name="badgeTextColor" format="color|reference" />
|
<attr name="showShadow" format="boolean" />
|
</declare-styleable>
|
|
<declare-styleable name="LoadingView">
|
|
</declare-styleable>
|
|
|
<!--SeekBar-->
|
<declare-styleable name="SmartSeekBar">
|
|
<!--最大值-->
|
<attr name="sb_max" format="float" />
|
<!--最小值-->
|
<attr name="sb_min" format="float" />
|
|
<attr name="sb_gravity" format="enum">
|
<enum name="top" value="0" />
|
<enum name="bottom" value="1" />
|
<enum name="center" value="2" />
|
</attr>
|
|
<!--刻度-->
|
|
<!--最小间隔-->
|
<attr name="sb_min_interval" format="float" />
|
<!-- 0 for the normal mode, greater than 1 to switch to scale mode-->
|
<attr name="sb_tick_mark_number" format="integer" />
|
|
<attr name="sb_tick_mark_mode" format="enum">
|
<!--按数组来-->
|
<enum name="number" value="0" />
|
<!--平分-->
|
<enum name="other" value="1" />
|
</attr>
|
|
<!--The tick mark text gravity -->
|
<attr name="sb_tick_mark_gravity" format="enum">
|
<enum name="left" value="0" />
|
<enum name="center" value="1" />
|
<enum name="right" value="2" />
|
</attr>
|
|
<!--The tick mark text layout gravity -->
|
<attr name="sb_tick_mark_layout_gravity" format="enum">
|
<enum name="top" value="0" />
|
<enum name="bottom" value="1" />
|
</attr>
|
|
<!--The tick mark text array -->
|
<attr name="sb_tick_mark_text_array" format="reference" />
|
|
<!--The tick mark text margin bottom to progress -->
|
<attr name="sb_tick_mark_text_margin" format="dimension" />
|
|
<attr name="sb_tick_mark_text_size" format="dimension" />
|
|
<attr name="sb_tick_mark_text_color" format="color" />
|
|
<!--it just work in range && number mode now-->
|
<attr name="sb_tick_mark_in_range_text_color" format="color" />
|
|
<!--进度条-->
|
<attr name="sb_progress_height" format="dimension" />
|
<attr name="sb_progress_radius" format="dimension" />
|
<attr name="sb_progress_color" format="color" />
|
<attr name="sb_progress_drawable" format="reference" />
|
|
<!--底-->
|
<attr name="sb_progress_default_color" format="color" />
|
<attr name="sb_progress_drawable_default" format="reference" />
|
|
|
<!--指示器-->
|
<attr name="sb_indicator_show_mode" format="enum">
|
<enum name="showWhenTouch" value="0" />
|
<enum name="alwaysHide" value="1" />
|
<enum name="alwaysShowAfterTouch" value="2" />
|
<enum name="alwaysShow" value="3" />
|
</attr>
|
|
<attr name="sb_indicator_height" format="dimension" />
|
<attr name="sb_indicator_width" format="dimension" />
|
<attr name="sb_indicator_margin" format="dimension" />
|
<attr name="sb_indicator_text_size" format="dimension" />
|
<attr name="sb_indicator_text_color" format="color" />
|
<attr name="sb_indicator_arrow_size" format="dimension" />
|
<attr name="sb_indicator_drawable" format="reference" />
|
<attr name="sb_indicator_background_color" format="color" />
|
<attr name="sb_indicator_padding_left" format="dimension" />
|
<attr name="sb_indicator_padding_right" format="dimension" />
|
<attr name="sb_indicator_padding_top" format="dimension" />
|
<attr name="sb_indicator_padding_bottom" format="dimension" />
|
<attr name="sb_indicator_radius" format="dimension" />
|
|
|
<!--触摸块-->
|
<attr name="sb_thumb_drawable" format="reference" />
|
<attr name="sb_thumb_inactivated_drawable" format="reference" />
|
<attr name="sb_thumb_width" format="dimension" />
|
<attr name="sb_thumb_height" format="dimension" />
|
<attr name="sb_thumb_scale_ratio" format="float" />
|
|
|
<!--分段-->
|
<attr name="sb_steps" format="integer" />
|
<attr name="sb_step_color" format="color" />
|
<attr name="sb_step_width" format="dimension" />
|
<attr name="sb_step_height" format="dimension" />
|
<attr name="sb_step_radius" format="dimension" />
|
<attr name="sb_step_auto_bonding" format="boolean" />
|
<attr name="sb_step_drawable" format="reference" />
|
|
</declare-styleable>
|
|
<declare-styleable name="VerticalSmartSeekBar">
|
<!--the vertical RangeSeekBar draw orientation-->
|
<attr name="sb_orientation" format="enum">
|
<enum name="top" value="1" />
|
<enum name="bottom" value="2" />
|
</attr>
|
<attr name="sb_tick_mark_orientation" format="enum">
|
<enum name="vertical" value="1" />
|
<enum name="horizontal" value="2" />
|
</attr>
|
<attr name="sb_indicator_text_orientation" format="enum">
|
<enum name="vertical" value="1" />
|
<enum name="horizontal" value="2" />
|
</attr>
|
</declare-styleable>
|
<!--SeekBar-->
|
|
<declare-styleable name="RangeSeekBar">
|
<!--RangeSeekBar common attrs-->
|
|
<!--The maximum-->
|
<attr name="rsb_max" format="float"/>
|
|
<!--The minimum-->
|
<attr name="rsb_min" format="float"/>
|
|
<!--RangeSeekBar mode, single is normal seekBar, range is RangeSeekBar-->
|
<attr name="rsb_mode" format="enum">
|
<enum name="single" value="1"/>
|
<enum name="range" value="2"/>
|
</attr>
|
|
<!--RangeSeekBar gravity-->
|
<attr name="rsb_gravity" format="enum">
|
<enum name="top" value="0"/>
|
<enum name="bottom" value="1"/>
|
<enum name="center" value="2"/>
|
</attr>
|
|
<!--The min interval of the thumbs -->
|
<attr name="rsb_min_interval" format="float"/>
|
|
<!-- 0 for the normal mode, greater than 1 to switch to scale mode-->
|
<attr name="rsb_tick_mark_number" format="integer"/>
|
|
<!--Scale mode
|
Number according to the scale of the actual proportion of the distribution of the location (markTextArray must be a number)
|
Other bisects the current layout (markTextArray can be any character)
|
-->
|
<attr name="rsb_tick_mark_mode" format="enum">
|
<enum name="number" value="0"/>
|
<enum name="other" value="1"/>
|
</attr>
|
|
<!--The tick mark text gravity -->
|
<attr name="rsb_tick_mark_gravity" format="enum">
|
<enum name="left" value="0"/>
|
<enum name="center" value="1"/>
|
<enum name="right" value="2"/>
|
</attr>
|
|
<!--The tick mark text layout gravity -->
|
<attr name="rsb_tick_mark_layout_gravity" format="enum">
|
<enum name="top" value="0"/>
|
<enum name="bottom" value="1"/>
|
</attr>
|
|
<!--The tick mark text array -->
|
<attr name="rsb_tick_mark_text_array" format="reference"/>
|
|
<!--The tick mark text margin bottom to progress -->
|
<attr name="rsb_tick_mark_text_margin" format="dimension" />
|
|
<attr name="rsb_tick_mark_text_size" format="dimension" />
|
|
<attr name="rsb_tick_mark_text_color" format="color" />
|
|
<!--it just work in range && number mode now-->
|
<attr name="rsb_tick_mark_in_range_text_color" format="color" />
|
|
<attr name="rsb_progress_height" format="dimension"/>
|
|
<attr name="rsb_progress_radius" format="dimension"/>
|
|
<!--the color of progress bar when in progress-->
|
<attr name="rsb_progress_color" format="color"/>
|
<!--the default color of the progress bar-->
|
<attr name="rsb_progress_default_color" format="color"/>
|
|
<attr name="rsb_progress_drawable" format="reference"/>
|
|
<attr name="rsb_progress_drawable_default" format="reference"/>
|
|
<!--SeekBar attrs-->
|
<attr name="rsb_indicator_show_mode" format="enum">
|
<enum name="showWhenTouch" value="0"/>
|
<enum name="alwaysHide" value="1"/>
|
<enum name="alwaysShowAfterTouch" value="2"/>
|
<enum name="alwaysShow" value="3"/>
|
</attr>
|
<attr name="rsb_indicator_height" format="dimension" >
|
<enum name="wrap_content" value="-1" />
|
</attr>
|
<attr name="rsb_indicator_width" format="dimension" >
|
<enum name="wrap_content" value="-1" />
|
</attr>
|
<!--indicator margin bottom to progress bar-->
|
<attr name="rsb_indicator_margin" format="dimension" />
|
<attr name="rsb_indicator_text_size" format="dimension" />
|
<attr name="rsb_indicator_text_color" format="color" />
|
<!--indicator arrow size, it just work when you not use rsb_indicator_drawable -->
|
<attr name="rsb_indicator_arrow_size" format="dimension" />
|
<!-- must use 9 path !!!-->
|
<attr name="rsb_indicator_drawable" format="reference"/>
|
<attr name="rsb_indicator_background_color" format="color" />
|
<attr name="rsb_indicator_padding_left" format="dimension" />
|
<attr name="rsb_indicator_padding_right" format="dimension" />
|
<attr name="rsb_indicator_padding_top" format="dimension" />
|
<attr name="rsb_indicator_padding_bottom" format="dimension" />
|
<attr name="rsb_indicator_radius" format="dimension" />
|
<attr name="rsb_thumb_drawable" format="reference"/>
|
<!--the thumb inactivated is when you don't touch the thumb button-->
|
<attr name="rsb_thumb_inactivated_drawable" format="reference"/>
|
<attr name="rsb_thumb_width" format="dimension"/>
|
<attr name="rsb_thumb_height" format="dimension"/>
|
<attr name="rsb_thumb_scale_ratio" format="float"/>
|
|
<!--steps SeekBar-->
|
<attr name="rsb_steps" format="integer"/>
|
<attr name="rsb_step_color" format="color"/>
|
<attr name="rsb_step_width" format="dimension"/>
|
<attr name="rsb_step_height" format="dimension"/>
|
<attr name="rsb_step_radius" format="dimension"/>
|
<attr name="rsb_step_auto_bonding" format="boolean"/>
|
<attr name="rsb_step_drawable" format="reference"/>
|
|
</declare-styleable>
|
|
<declare-styleable name="VerticalRangeSeekBar">
|
<!--the vertical RangeSeekBar draw orientation-->
|
<attr format="enum" name="rsb_orientation">
|
<enum name="left" value="1"/>
|
<enum name="right" value="2"/>
|
</attr>
|
<attr format="enum" name="rsb_tick_mark_orientation">
|
<enum name="vertical" value="1"/>
|
<enum name="horizontal" value="2"/>
|
</attr>
|
<attr format="enum" name="rsb_indicator_text_orientation">
|
<enum name="vertical" value="1"/>
|
<enum name="horizontal" value="2"/>
|
</attr>
|
</declare-styleable>
|
|
<declare-styleable name="GifImageView">
|
<!--gif文件引用-->
|
<attr name="gif_src" format="reference" />
|
<!--是否加载完自动播放-->
|
<attr name="auth_play" format="boolean" />
|
<!--播放次放,默认永远播放-->
|
<attr name="play_count" format="integer" />
|
<!--播放完成后是否停留在最后一帧,默认false-->
|
<attr name="end_last_frame" format="boolean" />
|
</declare-styleable>
|
|
<declare-styleable name="Battery">
|
<attr name="batteryOrientation">
|
<enum name="horizontal" value="0"/>
|
<enum name="vertical" value="1"/>
|
</attr>
|
<attr name="batteryColor" format="color"/>
|
<attr name="batteryPower" format="integer"/>
|
</declare-styleable>
|
</resources>
|