I have a VideoView
which resizes on keyboard events. I observed that the video (played by VideoView) will not resize even though the VideoView's layout is changed (the changes are clearly visible). Is there any call I need to make to resize the video to the new layout?
I have tried 'invalidate()' and 'requestLayout()', but they did not work.
You need to create a custom VideoView since it require to invoke these 2 methods :
onMeasure()
andonConfigurationChanged()
this Answer has explained in very deep detail, please check below:
Android VideoView orientation change with buffered video