MediaController positioning over VideoView

后端 未结 10 1781
半阙折子戏
半阙折子戏 2020-12-02 07:19

I have a VideoView that takes up the top half of the Activity in portrait orientation with the bottom half of the screen showing some images and text. I am playing a rtsp v

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 07:42

    I use this code to solve it.

    mediaController.setPadding(0, 0, 0, px);
    

    to set the mediacontroller view to the position you want. Hope this help you.

提交回复
热议问题