1

For a live wallpaper project, I am using a StaticLayout on a canvas to draw some text. I intend to use alpha animation to fade out the text but all the examples I have come across on the net and on SO are for animating views.

As I do not use TextView, is there any way I can apply the animation to StaticLayout instead? Any pointers would help.

GreenBee
  • 3,101
  • 3
  • 19
  • 18

1 Answers1

0

You could set the alpha value on the paint used for the staticlayout.

Zelleriation
  • 2,834
  • 1
  • 23
  • 23