Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top