I im using videoview to play video file...video is playing but is not fit to panel size it is half...how can i set viewview to fit video width and height to panel width and height size?
B4X:
'ADDVIEW - Panel
Activity.AddView(pnlVideo, 0, 0, 350dip, 180dip)
'INITIALIZE - VideoView
VideoView1.Initialize("VideoView1")
'ADDVIEW - VideoViewRelativeLayout1
pnlVideo.AddView(VideoView1, 0, 0, pnlVideo.Width, pnlVideo.Height)