I'm using the stock android.R.anim.fade_in animation to fade in a textview. Here's the code to reproduce:
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Animation fadeInAnim = AnimationUtils.loadAnimation(this, android.R.anim.fade_in); fadeInAnim.setDuration(10000); LinearLayout r = (LinearLayout)findViewById(R.id.root); TextView text = new TextView(this); text.setText("Hello World"); text.setTextColor(Color.BLACK); r.addView(text); text.startAnimation(fadeInAnim); } The Layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/root" android:background="#FFFFFF"> </LinearLayout> This works wonderfully on the ADP1, the emulator in various versions, but on a 2.0 Milestone, for the whole time the animation is running, the background of the textview is visible in very light grey/blue color. Note that in the code above, the TextView background color is transparent, on the activity background is set to something non- default. If either of those are not true, the problem doesn't occur. For example, if I set the TextView background to white also, I don't see the artifact; same if I leave the activity background at the default, Is this a bug? Can other Milestone/Droid owners confirm this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en