Re: [android-developers] Button clicking colour change problem

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 1:41 AM, B.Arunkumar wrote: > The colouring of the 2 buttons should appear sequentially because button > clicking happens on the main thread, is it not? > A) There is nothing related to color in the code you posted. B) If you have a Thread.Sleep() in a function that is exe

[android-developers] Button clicking colour change problem

2012-01-12 Thread B.Arunkumar
Hi, I am having problem with colour change of 2 buttons: This is a simple code that I tested out on a device: button1.setOnClickListener(new OnClickListener(){ @Override public void onClick(View v) { // TODO Au