Hello,
I want to switch a button out of my UI in favor of a CheckBox object.
 However, the enable = false parameter in my layout does not seem to have
any effect on a CheckBox!  My plan is to code the CheckBox to be enabled
when certain other objects are valid.  With a button object, the grayness
and the lack of response to clicks is clear and obvious.  When I use
a CheckBox and set it to be disabled it has no effect.  The object is drawn
the same way with true as it is drawn with false in the enabled/setClickable
parameter, the callbacks for the touch events work the same, the
object continues to respond to onClick and onCheckedChange events when it is
supposed to be disabled.  This looks like a bug to me.

Has anybody got the setEnabled(false) or setClickable(false) methods working
on a CheckBox?  Any workaround or explanation would be helpful.

Thanks and regards,
Beth

-- 

Rita Rudner <http://www.brainyquote.com/quotes/authors/r/rita_rudner.html>
- "I was a vegetarian until I started leaning toward the sunlight."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to