Dear All:

My name is Peng Zhu. I am new to the Android platform.

I have a question: "How can I gray out a toggle button?"

I can use the follwoing method to disable the button:

mToggleButton.setEnabled(false);

But the button still looks the same after it is disabled.

Is there another method I can call to gray out it?

Or, I need another "disabled image" to show it is disabled.

Best Regards.

Peng

--~--~---------~--~----~------------~-------~--~----~
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