resetTransformPivot

abstract fun resetTransformPivot()

Resets the transform pivot of a View to its default state.

Note for implementors: While API 28+ devices can just use View.resetPivot, this needs a special implementation pre-API 28 which should ensure that when reset, the pivot stays at the center of the View, even if it's resized. View.onSizeChanged can be used to achieve this.

See also