Forum Xamarin.Android

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Translate Animation causing build failure

Hi All,

I am trying to use following animation and created a xml file.

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
    android:shareInterpolator="false">
  <translate
       android:fromXDelta="0%p"
       android:toXDelta="100%p"
       android:duration="800" />
</set>

My target version details are in the screen shot attached.

When every I am building my project I am receiving following error, If I exclude the file then project build successfully.

"Invalid resource directory name: "res animation". "

tried multiple things and spend lots of time but no luck any input to solve the issue.

Sign In or Register to comment.