I have been looking for a way to get rid of the nasty black initial screen on a VideoView before the start() method is run.
I have tried with background image on the
Modifying @emmgfx's answer worked for me:
videoView.setBackgroundColor(Color.WHITE) videoView.start() Timer().schedule(100){ videoView?.setBackgroundColor(Color.TRANSPARENT) }
Trick is to delay the video view untill video loads. PS : It's kotlin.