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? I'd like the button to be disabled initially and then become enabled depending on user action. How can this be done without using the deprecated method???? Frankly I'm completely at a loss as to how to set any and all xml attributes programatically. It seems some have matching properties in the Java objects and some do not. Some can be set by using LayoutParams and some cannot. Please help. Thanks. -- 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