sample project using a custom view