SetHardwareAnimatedViews(@NonNull mainView: View, @NonNull vararg views: View)
Set A View to Hardware Layer, for Hardware Acceleration during the Animation and revert at the end of animation to the previously layer type.
mainView - View: The first hardware animated View
mainView
views - View: some other additional animated views
views