setRelativeToView

open fun setRelativeToView(@Nullable view: View)

Should be called to allow this drawable to calculate its position within the current display frame. This allows it to apply to specified window padding.

See also