on pre 3.0 you will be missing certain android.r.attrs.* items..
Of course you will have to change those imports to reflect..but seems workable..
android.R.attr.ordering,
android.R.attr.propertyName
android.R.attr.valueType,
android.R.attr.valueFrom
android.R.attr.valueTo
<!-- ========================== -->
<!-- AnimatorSet class attributes -->
<!-- ========================== -->
<eat-comment />
<declare-styleable name="AnimatorSet">
<!-- Name of the property being animated. -->
<attr name="ordering">
<!-- child animations should be played together. -->
<enum name="together" value="0" />
<!-- child animations should be played sequentially, in the same order as the xml. -->
<enum name="sequentially" value="1" />
</attr>
</declare-styleable>
<!-- ========================== -->
<!-- ObjectAnimator class attributes -->
<!-- ========================== -->
<eat-comment />
<declare-styleable name="PropertyAnimator">
<!-- Name of the property being animated. -->
<attr name="propertyName" format="string"/>
</declare-styleable>
<!-- ========================== -->
<!-- ValueAnimator class attributes -->
<!-- ========================== -->
<eat-comment />
<declare-styleable name="Animator">
<!-- Defines the interpolator used to smooth the animation movement in time. -->
<attr name="interpolator" />
<!-- Amount of time (in milliseconds) for the animation to run. -->
<attr name="duration" />
<!-- Delay in milliseconds before the animation runs, once start time is reached. -->
<attr name="startOffset"/>
<!-- Defines how many times the animation should repeat. The default value is 0. -->
<attr name="repeatCount"/>
<!-- Defines the animation behavior when it reaches the end and the repeat count is
greater than 0 or infinite. The default value is restart. -->
<attr name="repeatMode"/>
<!-- Value the animation starts from. -->
<attr name="valueFrom" format="float|integer|color|dimension"/>
<!-- Value the animation animates to. -->
<attr name="valueTo" format="float|integer|color|dimension"/>
<!-- The type of valueFrom and valueTo. -->
<attr name="valueType">
<!-- valueFrom and valueTo are floats. This is the default value is valueType is
unspecified. Note that if either valueFrom or valueTo represent colors
(beginning with "#"), then this attribute is ignored and the color values are
interpreted as integers. -->
<enum name="floatType" value="0" />
<!-- valueFrom and valueTo are integers. -->
<enum name="intType" value="1" />
</attr>
</declare-styleable>