OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ViewStub
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/java/android/view/
ViewStub.java
29
* A
ViewStub
is an invisible, zero-sized View that can be used to lazily inflate
32
* When a
ViewStub
is made visible, or when {@link #inflate()} is invoked, the layout resource
33
* is inflated. The
ViewStub
then replaces itself in its parent with the inflated View or Views.
34
* Therefore, the
ViewStub
exists in the view hierarchy until {@link #setVisibility(int)} or
37
* The inflated View is added to the
ViewStub
's parent with the
ViewStub
's layout
39
*
ViewStub
's inflatedId property. For instance:
42
* <
ViewStub
android:id="@+id/stub"
49
* The
ViewStub
thus defined can be found using the id "stub." After inflation of
50
* the layout resource "mySubTree," the
ViewStub
is removed from its parent. Th
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
ViewStubTest.java
38
import android.view.
ViewStub
;
39
import android.view.
ViewStub
.OnInflateListener;
43
* Test {@link
ViewStub
}.
45
@TestTargetClass(
ViewStub
.class)
64
notes = "Test constructor(s) of {@link
ViewStub
}",
65
method = "
ViewStub
",
70
notes = "Test constructor(s) of {@link
ViewStub
}",
71
method = "
ViewStub
",
76
notes = "Test constructor(s) of {@link
ViewStub
}",
77
method = "
ViewStub
",
[
all
...]
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
Completed in 32 milliseconds