SetHardwareAnimatedViews

Set A View to Hardware Layer, for Hardware Acceleration during the Animation and revert at the end of animation to the previously layer type.

Parameters

mainView

The first hardware animated View

views

some other additional animated views

open fun SetHardwareAnimatedViews(mainView: View, views: Array<View>)