I have one Textview field. i want to display it as a fadeIn FadeOut animation with certain period of time with repeat motion. How to do that.Any help please welcome.I read dozen of solution bt not find helpfull. Thanks.....In Advance
Asked
Active
Viewed 187 times
1 Answers
0
Replace yourTextView
with your textview
. Change the animation duration as required
AlphaAnimation anim = new AlphaAnimation(0, 1);
anim.setDuration(1000);
anim.setRepeatCount(Animation.INFINITE);
anim.setRepeatMode(Animation.REVERSE);
yourTextView.startAnimation(anim);

Adarsh Yashvanth
- 150
- 10
-
Glad to know. Consider accepting my answer and an upvote will help – Adarsh Yashvanth Apr 03 '20 at 15:30