开发者

VideoView clicklistener not possible

I'm trying to pause the video when the user clicks on it but looks like the setOnClickListenter isn't called.

开发者_运维知识库

I've used setOnClickListener(this) for all my other views and they work. Can somebody shed some light on why this isn't working with a VideoView?


Take a look here, you need to use

    onTouchEvent(MotionEvent ev);

http://developer.android.com/reference/android/widget/VideoView.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜