Пример #1
0
  @Override
  public boolean onTouchEvent(final MotionEvent event) {
    final ImageView imageView = (ImageView) this.findViewById(R.id.imageView1);

    if (imageView.getVisibility() == View.VISIBLE) imageView.setVisibility(View.INVISIBLE);
    else scene.onTouch(this.mGLView, event, imageView);
    return true;
  }
Пример #2
0
 @Override
 public void onBackPressed() {
   scene.onBackPressed();
 }