> I'm working with 2.0 and in my xml layout, I changed the Enabled
> property of a Button, only to see that that is Deprecated. Eclipse
> property manager tells me (when I mouse over the property) :
> "Deprecated use state_enabled instead."
>
> So sure I can set state_enabled in the xml layout, but how to do it
> programatically? Can it be done?

setEnabled() is not deprecated, on View or Button, according to the API
documentation.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

Reply via email to