getBoundsInParent

open fun getBoundsInParent(outBounds: Rect)(source)

Deprecated

Use getBoundsInScreen instead.

Gets the node bounds in the viewParent's coordinates. getParent does not represent the source's viewParent. Instead it represents the result of getParentForAccessibility, which returns the closest ancestor where isImportantForAccessibility is true. So this method is not reliable.

Parameters

outBounds

The output node bounds.