Hi All,

I would like to know how to remove the light indicator of a Toggle
Button.

In the API, there is a variable called Alpha which can be
"disabledAlpha" (XML attributes).
According to the API, The alpha to apply to the indicator when
disabled.

I have searched on the internet, and found no way of setting the this
variable programmatically.
All examples I can find are doing it via XML.
I can use setTextOn, setTextOff, but unfortunately there isn't
anything like setDisabledAlpha.

API of Toggle Button:
http://developer.android.com/reference/android/widget/ToggleButton.html

The variable I am talking about:
http://developer.android.com/reference/android/widget/ToggleButton.html#attr_android:disabledAlpha

I don't know if I can set it programmatically or is it only allowed to
be modified using XML attributes.
If anyone can help me out on this, it would be good,

Thank you very much,
Best regards,

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