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

Landscape Mode Issue #59

Open
MuzzamilDev opened this issue Jul 22, 2020 · 4 comments
Open

Landscape Mode Issue #59

MuzzamilDev opened this issue Jul 22, 2020 · 4 comments

Comments

@MuzzamilDev
Copy link

Hi ,
I hope you are doing well , your sample code is not working on landscape mode. showing a black screen.
I am Using Samsung S8 (OS 09)
device-2020-07-22-115755

@eschao
Copy link
Owner

eschao commented Sep 14, 2020

On simulator or phone?

@Skreewd
Copy link

Skreewd commented Sep 18, 2020

Im getting this issue as well. One plus 8 - android 10
I'd love to have a working version since the effect is so good

@NimeshHirpara
Copy link

Comments following lines in SampleActivity is working for me

if (Build.VERSION.SDK_INT < 16) {
            getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                    WindowManager.LayoutParams.FLAG_FULLSCREEN);
        } else {
            mPageFlipView.setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_FULLSCREEN |
                            View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
                            View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
                            View.SYSTEM_UI_FLAG_IMMERSIVE |
                            View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
        }

@gladichl
Copy link

gladichl commented Jan 9, 2025

Comments following lines in SampleActivity is working for me

if (Build.VERSION.SDK_INT < 16) {
            getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                    WindowManager.LayoutParams.FLAG_FULLSCREEN);
        } else {
            mPageFlipView.setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_FULLSCREEN |
                            View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
                            View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
                            View.SYSTEM_UI_FLAG_IMMERSIVE |
                            View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
        }

It doesn't work (at least for my smartphone).

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

5 participants