mFrame.mCancelNextDraw = true; mFrame.invalidate();
super.onCreate(icicle); setContentView(R.layout.pre_draw_listener); mFrame = (MyLinearLayout) findViewById(R.id.frame); Button mGoButton = (Button) findViewById(R.id.go); mGoButton.setOnClickListener(this);