I want to use animation in my android Application using Xamarin C#. animations like fade-in, zoom-in, move and ....
How can I use animation in xamarin android application?
9.1k views Asked by Ali pishkari At
2
I want to use animation in my android Application using Xamarin C#. animations like fade-in, zoom-in, move and ....
first add a folder under "resources " folder name it "anim". then you can add your animation resources to it , Ex: for fade-in animation create a resource under anim folder and name it "fade_in.xml" and paste this code into it:
then add a Textview in your mainlayout.xml and also a button
and for button:
in "oncreate" method in you activity add this code :
then add this method to your activity: