That would be extremely annoying in my opinion, but you would do it using a Timer: http://developer.android.com/reference/java/util/Timer.html
---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Tue, Jul 13, 2010 at 2:17 PM, Amit Sood <[email protected]> wrote: > Hello Experts, > > I am a beginner looking for some advise. > > I have a class in which i dynamically add a textview. I need to > change its background color (any random color) after every 1 second. > > Please guide me how i can achieve this. I am able to set the > background color for once but don't know how to do it after every 1 > second. > > Thanks > Amit > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

