[android-developers] Re: Java Color Coding Issue
thank you, i am attempting your solution at the moment. do i need to
implement anything into the "android:onClick=" command?
On Aug 3, 2:07 pm, Abhishek Akhani <abhishek.akh...@gmail.com> wrote:
> set this code in your buttons onTouch() method (while action down)
>
> Random rand = new Random();
> button.setBackgroundColor(Color.rgb(rand.nextInt(255),rand.nextInt(255),ran d.nextInt(255));
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home