-
public class ViewGroupUtils
-
-
Method Summary
Modifier and Type Method Description static void
getDescendantRect(ViewGroup parent, View descendant, Rect out)
Retrieve the transformed bounding rect of an arbitrary descendant view.This does not need to be a direct child. -
-
Method Detail
-
getDescendantRect
static void getDescendantRect(ViewGroup parent, View descendant, Rect out)
Retrieve the transformed bounding rect of an arbitrary descendant view.This does not need to be a direct child.
- Parameters:
descendant
- descendant view to referenceout
- rect to set to the bounds of the descendant view
-
-
-
-