Searched defs:ViewStub (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/core/java/android/view/ |
H A D | ViewStub.java | 32 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate 35 * When a ViewStub is made visible, or when {@link #inflate()} is invoked, the layout resource 36 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views. 37 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or 40 * The inflated View is added to the ViewStub's parent with the ViewStub's layout 42 * ViewStub's inflatedId property. For instance: 45 * <ViewStub android:id="@+id/stub" 52 * The ViewStub thus defined can be found using the id "stub." After inflation of 53 * the layout resource "mySubTree," the ViewStub i 73 public final class ViewStub extends View { class in inherits:View 82 public ViewStub(Context context) { method in class:ViewStub 92 public ViewStub(Context context, @LayoutRes int layoutResource) { method in class:ViewStub 98 public ViewStub(Context context, AttributeSet attrs) { method in class:ViewStub 102 public ViewStub(Context context, AttributeSet attrs, int defStyleAttr) { method in class:ViewStub 106 public ViewStub(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { method in class:ViewStub [all...] |
Completed in 770 milliseconds