Search : view height and width programmatically