// Path: baselibrary/src/main/java/com/dim/skin/SkinStyle.java
// public enum SkinStyle {
// 
//     Dark,
//     Light//默认Light
// }


import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
import com.dim.skin.SkinStyle;


        mNightTextColorRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColor", -1);
        if (mNightTextColorRes == -1) {
            mNightTextColor = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColor", -1);
        }

        int mNightTextColorHighlightRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorHighlight", -1);
        if (mNightTextColorHighlightRes != -1) {
            mNightTextColorHighlight = view.getContext().getResources().getColor(mNightTextColorHighlightRes);

        } else {
            mNightTextColorHighlight = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorHighlight", -1);

        }

        mNightTextColorLinkRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorLink", -1);
        if (mNightTextColorLinkRes == -1) {
            mNightTextColorLink = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorLink", -1);
        }


        mNightTextColorHintRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorHint", -1);
        if (mNightTextColorHintRes == -1) {
            mNightTextColorHint = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorHint", -1);
        }
        mNightTextColorAppearance = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorAppearance", -1);
    }

    @Override
// Path: baselibrary/src/main/java/com/dim/skin/SkinStyle.java
// public enum SkinStyle {
// 
//     Dark,
//     Light//默认Light
// }


// Path: baselibrary/src/main/java/com/dim/skin/hepler/TextViewSkinHelper.java
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
import com.dim.skin.SkinStyle;



        mNightTextColorRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColor", -1);
        if (mNightTextColorRes == -1) {
            mNightTextColor = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColor", -1);
        }

        int mNightTextColorHighlightRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorHighlight", -1);
        if (mNightTextColorHighlightRes != -1) {
            mNightTextColorHighlight = view.getContext().getResources().getColor(mNightTextColorHighlightRes);

        } else {
            mNightTextColorHighlight = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorHighlight", -1);

        }

        mNightTextColorLinkRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorLink", -1);
        if (mNightTextColorLinkRes == -1) {
            mNightTextColorLink = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorLink", -1);
        }


        mNightTextColorHintRes = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorHint", -1);
        if (mNightTextColorHintRes == -1) {
            mNightTextColorHint = attrs.getAttributeIntValue(MATERIALDESIGNXML, "nightTextColorHint", -1);
        }
        mNightTextColorAppearance = attrs.getAttributeResourceValue(MATERIALDESIGNXML, "nightTextColorAppearance", -1);
    }

    @Override
    public void setSkinStyle(SkinStyle skinStyle) {