switched from Framelayout to Viewgroup