V
V
Vlad Sokolov2017-02-22 14:47:13
Mobile development
Vlad Sokolov, 2017-02-22 14:47:13

How to draw a trapezoid button in Xamarin?

I want to make an animation of a button of the "rotation" type, when the object rotates - the near side becomes wider, and the far side narrower, so that the usual Scale along one of the axes cannot be done.
If you make a button with a deliberately large bound, you can click it in the place where there is no button (where there is no picture).
I see one way out of solving this problem: to draw an arbitrary quadrilateral, but I did not find any trivial solution.
How can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Zolotov, 2017-02-23
@Bloodskys

This can be solved with animation. See https://blog.xamarin.com/creating-animations-with-... There is also a link to the sample

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question