Technology Tips
Wednesday, June 26, 2013
How to disable a button - Android?
Programatically you can use the below code to disable a button
myButton.setEnabled(false);
In XML,
android:clickable="false"
or
android:enabled="false"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment