package com.basic.security.widget;
|
|
import android.content.Context;
|
import android.support.annotation.Nullable;
|
import android.util.AttributeSet;
|
import android.view.View;
|
|
public abstract class BaseShapeView extends View {
|
public BaseShapeView(Context context) {
|
super(context);
|
}
|
|
public BaseShapeView(Context context, @Nullable AttributeSet attrs) {
|
super(context, attrs);
|
}
|
|
public BaseShapeView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
super(context, attrs, defStyleAttr);
|
}
|
|
public BaseShapeView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
super(context, attrs, defStyleAttr, defStyleRes);
|
}
|
|
public void setColor(int color) {
|
}
|
|
@Override
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
}
|
|
@Override
|
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
|
super.onLayout(changed, left, top, right, bottom);
|
}
|
}
|