Descendant Offset Utils
Utility class for descendant Rect calculations.
Functions
Link copied to clipboard
Link copied to clipboard
open fun offsetDescendantRect(@NonNull parent: ViewGroup, @NonNull descendant: View, @NonNull rect: Rect)
This is a port of the common offsetDescendantRectToMyCoords from the framework, but adapted to take transformations into account.