getDecoratedEnd

abstract fun getDecoratedEnd(view: View): Int(source)

Returns the end of the view including its decoration and margin.

For example, for the horizontal helper, if a View's right is at pixel 200, has 2px right decoration and 3px right margin, returned value will be 205.

Return

The last pixel of the element

Parameters

view

The view element to check

See also