handle click event for image inside scrollview
I have a set of images inside horizontal scrollview. I want to perform click event on these images. I have added onClickListener to the images.开发者_JAVA百科 But its not working. I think since images are inside scrollview the problem arises. Can anyone help on this issue?
I used OnTouchListner instead of OnClickListener and applied it to the images inside ScrollView. Now I am able to do it.
@Desiderio : I used ScrollView for some other purpose. I required it for my appn. It doesnt interfere with my pbm. Sorry, I made mistake while explaining my pbm.
精彩评论