I'm applying an AlphaAnimation to a Button. The animation is extremely simple.
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="500"/>
On the emulator, the button fades out nicely with no discernable artifacts. On actual devices (Nexus One & Motorola Droid), there is a noticeable black artifact from the actual frame of the button.
Is there any way to avoid this? It looks like crap.
Emulator:
Device:
(Images have been doctored because it's hard to capture the same fade state during an animation, but that's exactly what it looks like)