yy1717
2020-01-14 ed0bc77b9c7168b8c3690f018da9aef230e34c61
app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java
@@ -41,6 +41,7 @@
        super(context, attrs, defStyleAttr);
        TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ArrowView,defStyleAttr,0);
        text = typedArray.getString(R.styleable.ArrowView_text);
        color = typedArray.getColor(R.styleable.ArrowView_color,Color.parseColor("#99C3D1"));
        typedArray.recycle();
    }
@@ -76,4 +77,9 @@
        }
        return keys;
    }
    public void setColor(int mColor){
        this.color = mColor;
        requestLayout();
    }
}