FileDocCategorySizeDatePackage
StubbedView.javaAPI DocAndroid 5.1 API1326Thu Mar 12 22:22:12 GMT 2015android.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);
                }
            }
        });