开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜