Added custom view with attribute