android imageview onClickListener animation
Posted
by Javadid
on Stack Overflow
See other posts from Stack Overflow
or by Javadid
Published on 2010-02-16T04:57:17Z
Indexed on
2010/06/18
5:33 UTC
Read the original article
Hit count: 1209
hi. I guess this is kind of a idiotic question but i have tried setting onClicklistener on an ImageView and it has worked. But the problem is that the user cannot sense the click. I mean if some of u have worked on other mobile environs(like apple iphone) then wen we click on a Image in other environs then it gives an effect on the image so that the user can understand that the image has been clicked.
I have tried setting alpha using "setalpha" method but it doesnt work. Though the same thing is working fine on onFocusListener implementation. Can some1 suggest a different way to modify the image on click...
I am new to android so havent learnt the nuances of simple animation also... if there is any simple animation i can use for the same then plzz plzzz let me know...
Thanx...
© Stack Overflow or respective owner