Reputation: 307
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
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