FileDocCategorySizeDatePackage
StubbedView.javaAPI DocAndroid 1.5 API1337Wed May 06 22:42:02 BST 2009com.android.frameworktest.view

StubbedView

public class StubbedView extends android.app.Activity
Exercise tag in XML files.

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.viewstub);

        findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                final View view = findViewById(R.id.viewStub);
                if (view != null) {
                    view.setVisibility(View.VISIBLE);
                }
            }
        });