set custom view enable