diff options
| author | 2012-11-06 16:01:50 -0800 | |
|---|---|---|
| committer | 2012-11-06 16:01:50 -0800 | |
| commit | 474a93003018ebd4fe99249f51b1e35e23a27f5a (patch) | |
| tree | 140f6775cc9cc12615a726b5f67e19cc8a0535f3 | |
| parent | b3224e8c9efd8dec40f467565ca8a2cd523a988c (diff) | |
| parent | a1ca6d39f9c0089aaab05249269ee8fbfe66f035 (diff) | |
am a1ca6d39: am a75a41e9: am 9d547d69: Merge "Clarify ViewStub.setVisibility() documentation to state that it works after inflation."
* commit 'a1ca6d39f9c0089aaab05249269ee8fbfe66f035':
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 69a26c25490e..a5dc3ae12bd7 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}. * |