public void removeControl ( String name ) { Widget control = findChildByName ( name ) ; if ( control != null ) { removeChild ( control ) ; if ( mBgResId != - 1 ) { updateMesh ( ) ; } } }
Remove control from the control bar . Size of control bar is updated based on new number of controls .