Glitch Glitch - 1 month ago 8
Android Question

Animating fade in/out of TextView whilst changing text

Basically I want to use an

AlphaAnimation
to fade a
TextView
out, then change the text of that
TextView
, and then finally fade it back in again using another
AlphaAnimation
. But I don't know how to perform this sequentially. What's the best way to achieve this?

Answer

I found a clean solution, it's called TextSwitcher. Does what I want with less fuss.