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

Android: Fix use of fullscreen modes on Cheats Activity #11410

Merged
merged 2 commits into from Jan 7, 2023

Conversation

t895
Copy link
Contributor

@t895 t895 commented Jan 6, 2023

When using a fullscreen mode on some phones that remove the navigation bar, inset callbacks will not be fired. To account for this we set the workaround view at a height of 1 to prevent the view from filling the entire screen due to this activity using a Constraint layout.

@JosJuice
Copy link
Member

JosJuice commented Jan 6, 2023

Is there a reason why we can't set the height to 1 in the XML file instead of in code?

@t895
Copy link
Contributor Author

t895 commented Jan 6, 2023

Is there a reason why we can't set the height to 1 in the XML file instead of in code?

I forgot that I could set the height in px and not dp 😓

When using a fullscreen mode on some phones that remove the navigation bar, inset callbacks will not be fired. To account for this we set the workaround view at a height of 1px to prevent the view from filling the entire screen due to this activity using a Constraint layout.
@JosJuice JosJuice merged commit dcded04 into dolphin-emu:master Jan 7, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants