You can programmatically call setEnabled(false).

I looked in the docs and couldn't find an attribute to add in xml for
that. I think one exists because I wrote some code/xml awhile back for
this and I see I wrote a comment reminding myself that it didn't work
for Button views.

On Apr 5, 4:35 pm, WildLuka <[EMAIL PROTECTED]> wrote:
> Hi
>
> does anyone know how to disable a button ?
> thank you
>
> luka
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to