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