I'm using Slidingdrawer and fragments in it. One of my fragments has a VideoView which streams online videos and it takes about 1/2 of my layout. The problem is, whenever I click on the slidingdrawer it comes out behind my VideoView. and it just happens in this fragment and just under the VideoView. I just wonder how can I fix it ?

Also I tried to pause my video when I click on the slider but it still works with the same issue.

有帮助吗?

解决方案

I know it's weird but I solved it by adding a Button on the VideoPlayer in the xml file, with background="#ff000000" to be invisible.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top