Hi I have a VideoView in my app, provided the layout width and height as fill parent. But still my video is displayed only in half the portion of the videoView. So I tried providing the width and height in dip. But still the video displays in the same manner.
Can anyone help me with this?
Hi I have a VideoView in my app, provided the layout width and height
Share
I had the same problem. I solved it by creating an own VideoView class extending VideoView, then pass in the width and height from
And this is the VideoPlayer class
I then added the VideoPlayer view by code to the layout using ViewGroup.addView(VideoPlayer)