class DueDateView extends RelativeLayout {

    public void select(boolean isSelected) {
        mBackground.setBackgroundColor(ContextCompat.getColor(getContext(),
                isSelected ? R.color.due_date_enable : R.color.due_date_disable));
    }

    public  DueDateView(Context context, AttributeSet attrs);
    public  DueDateView(Context context, AttributeSet attrs, int defStyleAttr);

}