public Widget addControl ( String name , int resId , Widget . OnTouchListener listener ) { return addControl ( name , resId , null , listener , - 1 ) ; }
Add new control at the end of control bar with specified touch listener and resource . Size of control bar is updated based on new number of controls .