Added basic support for setup widgets for views

Change-Id: I18e91eab2e4c480fb4bb55c2cd64111e704cd910
Merge branch 'config-for-views'

Change-Id: Ibe4168eaa19d7f7285c563b7691ce4c90aaa3b11