I am calling setEnabled from the UI thread... still the same thing.

On Aug 23, 9:09 am, Kostya Vasilyev <[email protected]> wrote:
> Make sure you're caliling setEnabled from the UI thread.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> 23.08.2010 16:57 пользователь "Abhi" <[email protected]> написал:
>
> Hi Kostya
>
> Ok. Let me explain further. I am changing button state by doing
> button.setEnabled(true or false) but, the state that the button is
> currently in, won't show up on the screen unless I touch the screen.
> That is where I mentioned about button's focus.
>
> So, even though the button is getting disabled through my program by
> calling button.setEnabled(false), on the screen, I still see the
> button as active and only when I touch the screen, the button is seen
> to be in the inactive state (disabled state with grey color).
>
> I hope that solves your confusion?
>
> Thanks,
>
> Abhi
>
> On Aug 23, 3:00 am, Kostya Vasilyev <[email protected]> wrote:
>
> >   Abhi,
>
> > I am a little confuse...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" g...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to