Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShkurtiA opened this issue Sep 29, 2017 · 1 comment
Open

Comments

@ShkurtiA
Copy link

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?

@pflammertsma
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants