animationDrawable is not playing in Actionbar?
<p>I am using the developer guide(<a href="http://developer.android.com/guide/topics/graphics/drawable-animation.html" rel="nofollow">http://developer.android.com/guide/topics/graphics/drawable-animation.html</a>) to create a animating record button, Making minor changes to accomadate an actionbar menuitem instead of an imageView. When I call the onStart it does not play?</p>

<p>Here is the code im using</p>

<pre><code>                    RecordButton.setIcon(R.drawable.recordbutton);
        recordAnimation = (AnimationDrawable) RecordButton.getIcon();
        recordAnimation.start()
</code></pre>

<p>Does anyone know why its not playing?</p>
