GPinskiy
GPinskiy

Reputation: 307

Adding Custom Fragment Animations In Xamarin

I am attempting to create a custom version of the Navigation Drawer using fragments. The issue that occurs is that while I am using the Xamarin Support Library v4, Resource.Animation slide animations throw an error of java.lang.RuntimeException: Unknown animator name: translate and I am unable to add my own animations because there is no Animation folder. When I try to create one, it gives me an error of Invalid resource directory name: "animation". How can I add my own animations to my project?

Upvotes: 0

Views: 1441

Answers (1)

William Jockusch
William Jockusch

Reputation: 27295

This problem is not unique to Xamarin. It is a general issue in the Android framework. You have to be careful about "Animator" versus "Animation." See Nurik's answer here for more info.

Upvotes: 1

Related Questions