Skip to content

Quit fullscreen mode when change orientation in Android 8.1 #42

Description

@xiachengcheng

Thank you for this lib, it's very useful. But recently I met a strange issue.
My app shows text and videos like this image:
screenshot_20180730-145640

And play video in full screen like:
screenshot_20180730-150734

But when I change orientation to landscape, it will quit fullscreen, like this:
screenshot_20180730-145659

When orientation changed, onHideCustomView() will be called and quit full-screen mode.
I don’t why it happened, and how can I keep it in full-screen mode even when change orientation?

Forget to say, it work very well in pre-8.1 android devices.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions