[Android] RotateYTo - wrong perspective rendering in AndroidΒ #20044
Open
Description
Description
When using the method RotateYTo, to a visual element, in this case, a Frame, in iOS it is rendered correctly, however, in Android, the perspective is screwed up, giving a aweful experience.
See video repro:
BugMauiRotateYTo.mov
Steps to Reproduce
Add a Frame to a Page
<Frame BackgroundColor="#2596BE"
HeightRequest="70"
WidthRequest="165"
Padding="0"
x:Name="doorFrame1"
CornerRadius="0"
Margin="5,0,5,0"
BorderColor="Transparent"
VerticalOptions="Center"
HorizontalOptions="Center">
And, in code-behind, animate the RotateYTo:
public async void DoMagicClicked(object sender, EventArgs args)
{
doorFrame1.AnchorX = 1;
await doorFrame1.RotateYTo(75, 700, Easing.BounceOut);
}
Link to public reproduction project repository
No response
Version with bug
8.0.6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android API 30+
Did you find any workaround?
Not really, I found this link https://theconfuzedsourcecode.wordpress.com/2017/12/19/ze-flippable-view-in-xamarin-forms-with-native-animations/ where the author talks about the Camera Perspective, however I am not sure how to use this with current maui architecture.
Relevant log output
No error messages, just the wrong renderization in Android