Change color of gradient like ScreenSaver?

view story

http://stackoverflow.com – hello friends i want to change color of gradient like below image. m trying from so many days but no luck. can you help me? Thanks in advance! i can draw a color with gradient LinearLayout but i want to change this color at runtime. (HowTos)