This is sample code to show a tool bar on a view