Home
last modified time | relevance | path

Searched refs:ViewStub (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java26 import android.view.ViewStub;
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub); in testInflated()
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedId()
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedLayoutParams()
/frameworks/base/docs/html/resources/articles/
Dlayout-tricks-stubs.jd10 widget called {@link android.view.ViewStub}, which brings you all the benefits
14 <p>A <code>ViewStub</code> is a dumb and lightweight view. It has no dimension,
16 This means that a <code>ViewStub</code> is very cheap to inflate and very cheap
17 to keep in a view hierarchy. A <code>ViewStub</code> can be best described as a
18 <em>lazy include</em>. The layout referenced by a <code>ViewStub</code> is
37 by a <code>ViewStub</code>:</p>
41 <p>When the user initiates the import process, the <code>ViewStub</code> is
46 <p>To use a <code>ViewStub</code>, all you need is to specify an
55 <pre class="prettyprint">&lt;ViewStub
66 {@link android.view.ViewStub#inflate()} method. You can also simply change the
[all …]
/frameworks/base/core/java/android/view/
DViewStub.java69 public final class ViewStub extends View { class
77 public ViewStub(Context context) { in ViewStub() method in ViewStub
87 public ViewStub(Context context, int layoutResource) { in ViewStub() method in ViewStub
92 public ViewStub(Context context, AttributeSet attrs) { in ViewStub() method in ViewStub
97 public ViewStub(Context context, AttributeSet attrs, int defStyle) { in ViewStub() method in ViewStub
98 … TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewStub, in ViewStub()
291 void onInflate(ViewStub stub, View inflated); in onInflate()
/frameworks/base/docs/html/guide/topics/resources/
Dlayout-resource.jd170 <p>Another way to include a layout is to use {@link android.view.ViewStub}. It is a lightweight
173 android.view.ViewStub}, read <a href="{@docRoot}resources/articles/layout-tricks-stubs.html">Layout
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java82 import android.view.ViewStub;
2186 ViewStub stub = (ViewStub) findViewById(
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd125 …<li>No UI support for &lt;merge&gt;, &lt;include&gt;, &lt;ViewStub&gt; elements. You can add these…
/frameworks/base/
Dpreloaded-classes893 android.view.ViewStub
/frameworks/base/docs/html/
Dsitemap.txt1853 http://developer.android.com/reference/android/view/ViewStub.OnInflateListener.html
1878 http://developer.android.com/reference/android/view/ViewStub.html
/frameworks/base/api/
Dcurrent.txt23645 public final class ViewStub extends android.view.View {
23646 ctor public ViewStub(android.content.Context);
23647 ctor public ViewStub(android.content.Context, int);
23648 ctor public ViewStub(android.content.Context, android.util.AttributeSet);
23649 ctor public ViewStub(android.content.Context, android.util.AttributeSet, int);
23655 method public void setOnInflateListener(android.view.ViewStub.OnInflateListener);
23658 public static abstract interface ViewStub.OnInflateListener {
23659 method public abstract void onInflate(android.view.ViewStub, android.view.View);
D14.txt23645 public final class ViewStub extends android.view.View {
23646 ctor public ViewStub(android.content.Context);
23647 ctor public ViewStub(android.content.Context, int);
23648 ctor public ViewStub(android.content.Context, android.util.AttributeSet);
23649 ctor public ViewStub(android.content.Context, android.util.AttributeSet, int);
23655 method public void setOnInflateListener(android.view.ViewStub.OnInflateListener);
23658 public static abstract interface ViewStub.OnInflateListener {
23659 method public abstract void onInflate(android.view.ViewStub, android.view.View);