I have a problem with VideoView
and ViewPager
swiping action. While swiping I can see black lines on the right or left side of VideoView
(depends on side of swiping) . How can I deal with this.
It was done using FragmentStatePagerAdapter
and ViewPager
. Parent Activity
has SurfaceView
with 0px
width and height and set
getWindow( ).setFormat( PixelFormat.TRANSLUCENT );
I'm adding VideoView
from JAVA
code.