Android-ScalableVideoView icon indicating copy to clipboard operation
Android-ScalableVideoView copied to clipboard

How can I fix when I use this view in android that supports multiwindow

Open ShkurtiA opened this issue 6 years ago • 1 comments

I am using this view and when my activity gets resized in a multi-window mode the video is stretched. Currently I am using the cropCenter mode. Is there a way to notify the view about the change?

ShkurtiA avatar Sep 29 '17 16:09 ShkurtiA

The reason this is happening, is that ScalableVideoView doesn't update the scale factor when onMeasure() is called. I think this is a larger issue as it also affects any other layout change, like bringing up the soft keyboard with soft input mode adjustResize.

pflammertsma avatar Jan 29 '18 13:01 pflammertsma