FileDocCategorySizeDatePackage
PreDrawListener.javaAPI DocAndroid 5.1 API2586Thu Mar 12 22:22:12 GMT 2015android.view

PreDrawListener

public class PreDrawListener extends android.app.Activity implements android.view.View.OnClickListener
Tests views with popupWindows becoming invisible

Fields Summary
private MyLinearLayout
mFrame
Constructors Summary
Methods Summary
public voidonClick(android.view.View v)

        mFrame.mCancelNextDraw = true;
        mFrame.invalidate();
    
protected voidonCreate(android.os.Bundle icicle)

        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);