summaryrefslogtreecommitdiff
path: root/core/java/android/view/ViewGroupOverlay.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/view/ViewGroupOverlay.java')
-rw-r--r--core/java/android/view/ViewGroupOverlay.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/ViewGroupOverlay.java b/core/java/android/view/ViewGroupOverlay.java
index c1b24f26503c..16afc5df31ae 100644
--- a/core/java/android/view/ViewGroupOverlay.java
+++ b/core/java/android/view/ViewGroupOverlay.java
@@ -47,7 +47,8 @@ public class ViewGroupOverlay extends ViewOverlay {
* animation effect.</p>
*
* <p>If the view has a parent, the view will be removed from that parent
- * before being added to the overlay. Also, the view will be repositioned
+ * before being added to the overlay. Also, if that parent is attached
+ * in the current view hierarchy, the view will be repositioned
* such that it is in the same relative location inside the activity. For
* example, if the view's current parent lies 100 pixels to the right
* and 200 pixels down from the origin of the overlay's