Searched defs:ViewStub (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/view/
H A DViewStub.java30 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate
33 * When a ViewStub is made visible, or when {@link #inflate()} is invoked, the layout resource
34 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views.
35 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or
38 * The inflated View is added to the ViewStub's parent with the ViewStub's layout
40 * ViewStub's inflatedId property. For instance:
43 * <ViewStub android:id="@+id/stub"
50 * The ViewStub thus defined can be found using the id "stub." After inflation of
51 * the layout resource "mySubTree," the ViewStub i
71 public final class ViewStub extends View { class in inherits:View
80 public ViewStub(Context context) { method in class:ViewStub
90 public ViewStub(Context context, int layoutResource) { method in class:ViewStub
95 public ViewStub(Context context, AttributeSet attrs) { method in class:ViewStub
100 public ViewStub(Context context, AttributeSet attrs, int defStyle) { method in class:ViewStub
[all...]

Completed in 217 milliseconds