Saturday, February 11, 2012

[android-developers] Re: Button enabled issue

Raju Gaddam wrote:
> Hi iam disable button in xml .how to enable button from my activity class
>
>
> in XMl i write like this android:visibility="invisible"
> in my activity button.setEnabled(true);
>
> But button is not visible please any one help me


setEnabled controls "enabled" attribute not "visibility"

pskink

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment