Trying to do the following:
animTimeChange = AnimationUtils.loadAnimation(this, android.R.anim.slide_in_left);
itemTime.startAnimation(animTimeChange);
itemTime.setText("new text");
but the animation happens thru blank screen (i.e. original text is cleared, then new text appears with animation). How to avoid that blank screen?
(my TextView
is part of ListView
row, I've tried to use TextSwitcher
- it doesn't work properly; for ViewFlipper
- I am not sure where add Views there, since this is part of the ListView)