Videoview Viewpager Black Lines While Swiping
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 de
Solution 1:
VideoView is based of Surfaceview which is not very ideal for translation and other behaviours. and much more suited to full screen video players that are static in layout. What you are looking for is textureview based videoview. Try searching library on github.
Solution 2:
you could try setting the background of the videoview to transparent.
videoView.setBackgroundResource(android.R.color.transparent);
Post a Comment for "Videoview Viewpager Black Lines While Swiping"