Swathy
Swathy

Reputation: 219

How to do a page curl flipping in xamarin forms

I need to implement a page flip animation in my xamarin forms app.I tried with flipping but that doesn't give a perfect look.

I want a page flip like below link. https://youtu.be/s-Q12A-Pej4

Please help me.

Upvotes: 0

Views: 473

Answers (1)

lalit Maheshwari
lalit Maheshwari

Reputation: 144

you can write below code in xaml.cs for Page Flip Animation .
this.TranslateTo(100, 0, 400);

await this.RotateYTo(-90, 200);

this.RotationY = -270;

this.RotateYTo(-360, 200);

await this.TranslateTo(0, 0, 220);

this.RotationY = 0;

this is basic logic for FlipAnimation you can modified if needed

Upvotes: 1

Related Questions