I am working on an application that requires events to be fired off when the Button experiences different states like Disabled, Highlighted etc. I need to know if anyone knows how I can define these states on a Button.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Along with the link provided by “siliconeagle” also check this link….
http://developer.android.com/reference/android/widget/Button.html
This contains the description about the methods available in Views such as onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) etc.