add custom view examples

Adds examples on how to use custom views