We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e370c46 + f5d102e commit e0d5ceeCopy full SHA for e0d5cee
1 file changed
core/java/android/widget/VideoView.java
@@ -284,6 +284,7 @@ public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
284
mVideoHeight = mp.getVideoHeight();
285
if (mVideoWidth != 0 && mVideoHeight != 0) {
286
getHolder().setFixedSize(mVideoWidth, mVideoHeight);
287
+ requestLayout();
288
}
289
290
};
0 commit comments