findChildViewUnder

@Nullable
open fun findChildViewUnder(x: Float, y: Float): @Nullable View

Find the topmost view under the given point.

Return

The child view under (x, y) or null if no matching child is found

Parameters

x

Horizontal position in pixels to search

y

Vertical position in pixels to search