Android: Why can't I give an onClickListener to a VideoView?

前端 未结 11 2154
独厮守ぢ
独厮守ぢ 2021-02-03 17:08

I have written these lines of code:

 mVideoView = (VideoView) findViewById(R.id.video_view);
    mVideoView.setOnClickListener(new OnClickListener() {
        @O         


        
11条回答
  •  暖寄归人
    2021-02-03 17:45

    You might try Gesture Overlay View

    You should be able to overlay this view on top of another view in order to get touch events.

    Hope this helps!

提交回复
热议问题