Open zbamstudio opened 7 years ago
My current method to do this is to create custom controls that render in OpenGL, which allows for fast matrix transformations and works everywhere.
However, doing everything in OpenGL means that we would ignore all native existing controls and have to restyle everything when a new Mobile OS version releases. So this approach is currently only used in games where a native look-and-feel is not important.
Having the option to provide layout transformations when needed, but recommend to avoid them for performance constraints, might be a good middle ground.
Can't you do this with Xamarin.Forms animations? https://developer.xamarin.com/guides/xamarin-forms/user-interface/animation/simple/
Limited support for this would be possible but honestly very difficult on all platforms.
Layout transform is not included in Uwp and Xamarin.Forms since it's defined as a performance heavy operation. But I think this decision needs to be left to the developer. I encountered couple use cases that can't be achieved by render transform and I had to (probably more performance heavy) work around to achieve the result.