diff options
author | Romain Guy <romainguy@android.com> | 2012-11-06 10:52:10 -0800 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-11-06 10:52:10 -0800 |
commit | 9d547d6934f64189e368c0b190fb4cf49c95a557 (patch) | |
tree | c15a44c5adde3f3fb88287a1ca75640c389bd51d | |
parent | 7a4d856c881ef48ad590d9e5a0456c94d188898a (diff) | |
parent | f54df840fb31772bfabb5d4ac604897da19cf619 (diff) | |
download | frameworks_base-9d547d6934f64189e368c0b190fb4cf49c95a557.zip frameworks_base-9d547d6934f64189e368c0b190fb4cf49c95a557.tar.gz frameworks_base-9d547d6934f64189e368c0b190fb4cf49c95a557.tar.bz2 |
Merge "Clarify ViewStub.setVisibility() documentation to state that it works after inflation."
-rw-r--r-- | core/java/android/view/ViewStub.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/ViewStub.java b/core/java/android/view/ViewStub.java index 69a26c2..a5dc3ae 100644 --- a/core/java/android/view/ViewStub.java +++ b/core/java/android/view/ViewStub.java @@ -212,7 +212,8 @@ public final class ViewStub extends View { /** * When visibility is set to {@link #VISIBLE} or {@link #INVISIBLE}, * {@link #inflate()} is invoked and this StubbedView is replaced in its parent - * by the inflated layout resource. + * by the inflated layout resource. After that calls to this function are passed + * through to the inflated view. * * @param visibility One of {@link #VISIBLE}, {@link #INVISIBLE}, or {@link #GONE}. * |