Reputation: 2285
I want to have two buttons side by side, and a BoxView, which will stand under the button which is pressed, therefore it must be able to slide from under one button, to another. I tried looking for that but cannot find anything related to Xamarin Forms position animation. How can I do that? Any resources or advices on doing what I'm trying to do will be welcomed, thanks.
Upvotes: 0
Views: 546
Reputation: 3698
Use LayoutTo(position, duration, easing)
method like:
yourBoxView.LayoutTo(new Rectangle(x,y,width,height),500,Easing.Linear)
Upvotes: 2