I have an image button in a layout and implemented the onclick functionality for the same. Now, i want to fade the image button during “on click”. How to do fading the image programatically in android. Thanks in advance.
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.
You need to implement an animation on a button. You must have a View animation with a alpha element. Read this : http://developer.android.com/guide/topics/resources/animation-resource.html and if you need any help please write here…