Open CallMeAreks opened 7 years ago
Do you have any screenshot to show this issue?
The square is a standard Button.
XAML:
<local:CircleButton x:Name="BtnArmAway"
Grid.Row="0"
Grid.Column="0"
Icon="ic_lock"
FontSize="40"
HeightRequest="100"
WidthRequest="100"
TextColor="White"
BackgroundColor="#117CC0"
Clicked="OnActionClicked">
</local:CircleButton>
<Button x:Name="BtnArmStay"
Grid.Row="0"
Grid.Column="1"
FontSize="40"
HeightRequest="100"
WidthRequest="100"
TextColor="White"
BackgroundColor="#0BAFB8"
Clicked="OnActionClicked">
</Button>
Animation code:
await btn.RotateTo(360, 2000);
btn.RotateTo(0, 0);
Any ideas?
When I configure a simple rotation animation like:
btn.RotateTo(360, 2000)
The animation appears completely different as expected, in a normal
Button
it rotates as expected. Any ideas why this could be happening? I've only tested it so far in Android 7 on a real device.