attrs.xml 3.39 KB
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <attr name="themeColor" format="color|reference"/>
    <attr name="widgetBackground" format="color|reference"/>
    <attr name="widgetBackgroundDark" format="color|reference"/>
    <attr name="widgetBackgroundTitle" format="color|reference"/>

    <declare-styleable name="RecyclerViewPager">
        <attr name="rvp_triggerOffset" format="float"/>
        <attr name="rvp_flingFactor" format="float"/>
        <attr name="rvp_singlePageFling" format="boolean"/>
    </declare-styleable>

    <declare-styleable name="SlideSwitchView">
        <attr name="slide_button" format="reference"/>
        <attr name="android:text"/>
        <attr name="android:textSize"/>
        <attr name="android:textColor"/>
    </declare-styleable>

    <declare-styleable name="HistoryModeView">
        <attr name="android:textColor"/>
        <attr name="android:text"/>
        <attr name="select_text_size" format="dimension"/>
        <attr name="un_select_text_size" format="dimension"/>
    </declare-styleable>

    <declare-styleable name="HistoryTipsView">
        <attr name="android:textColor"/>
        <attr name="android:textSize"/>
        <attr name="android:src"/>
        <attr name="tip_one_text" format="string"/>
        <attr name="tip_two_text" format="string"/>
    </declare-styleable>

    <declare-styleable name="HistoryChartView">
        <attr name="ylabel_text_size" format="dimension"/>
        <attr name="xlabel_text_size" format="dimension"/>
        <attr name="margin_top" format="dimension"/>
        <attr name="margin_bottom" format="dimension"/>
        <attr name="margin_left" format="dimension"/>
        <attr name="margin_right" format="dimension"/>
        <attr name="line_stroke_width" format="dimension"/>
        <attr name="data_stroke_width" format="dimension"/>
        <attr name="circle_radius" format="dimension"/>
        <attr name="line_color" format="color"/>
        <attr name="unit_color" format="color"/>
        <attr name="x_unit_text" format="string"/>
        <attr name="y1_unit_text" format="string"/>
        <attr name="y2_unit_text" format="string"/>
        <attr name="y_unit_text_size" format="dimension"/>
        <attr name="x_unit_text_size" format="dimension"/>
        <attr name="first_data_line_color" format="color"/>
        <attr name="second_data_line_color" format="color"/>
        <attr name="rect_background_color" format="color"/>
        <attr name="x_first_point_offset" format="dimension"/>
    </declare-styleable>

    <declare-styleable name="MovingImageView">
        <attr name="miv_speed" format="integer"/>
        <attr name="miv_repetitions" format="integer"/>
        <attr name="miv_max_relative_size" format="float"/>
        <attr name="miv_min_relative_offset" format="float"/>
        <attr name="miv_start_delay" format="integer"/>
        <attr name="miv_load_on_create" format="boolean"/>
    </declare-styleable>

    <declare-styleable name="MovingImageViewTheme">
        <attr name="movingImageViewStyle" format="reference"/>
    </declare-styleable>


    <declare-styleable name="ClipViewLayout">
        <attr name="clipType" format="enum">
            <enum name="circle" value="1" />
            <enum name="rectangle" value="2" />
        </attr>
        <attr name="mHorizontalPadding" format="dimension" />
        <attr name="clipBorderWidth" format="dimension" />
    </declare-styleable>
</resources>