You don't have your animation within a <set>
. You also need to provide an interpolator for your animation. Try changing your xml to this:
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/linear_interpolator" >
<rotate
android:fromDegrees="0"
android:toDegrees="-45"
android:duration="400" />
</set>