// ==============================================================================
 @Override
 protected void onSizeChanged(int w, int h, int oldw, int oldh) {
   super.onSizeChanged(w, h, oldw, oldh);
   viewSizeChanged();
 }
  public final void deleteView(ComponentPeerView view) {
    ViewGroup group = (ViewGroup) (view.getParent());

    if (group != null) group.removeView(view);
  }
 @Override
 public void draw(Canvas canvas) {
   super.draw(canvas);
   handlePaint(canvas);
 }
Пример #4
0
  public final void deleteOpenGLView(OpenGLView view) {
    ViewGroup group = (ViewGroup) (view.getParent());

    if (group != null) group.removeView(view);
  }