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: Pad menu fragment when expanding to cutout area #11314

Merged
merged 1 commit into from Dec 4, 2022

Conversation

t895
Copy link
Contributor

@t895 t895 commented Dec 1, 2022

Previously mentioned in #11313

Before when using the "Expand to Cutout Area" setting, camera notches/other device insets could get in the way of the ingame menu fragment. Now we apply padding based on inset and this accounts for RTL layouts.

Additionally, I've removed unused attributes from the xml and slightly tweaked the padding of the fragment itself to appear clearer.

Before (camera would appear in the way of text on the left) -
signal-2022-12-01-162921_003

After -
signal-2022-12-01-162921_002

@t895 t895 force-pushed the menu-cutout-padding branch 2 times, most recently from 67f0293 to a1c101e Compare December 2, 2022 21:18
@t895 t895 force-pushed the menu-cutout-padding branch 3 times, most recently from b2e0087 to bcc5343 Compare December 3, 2022 02:36
@t895 t895 force-pushed the menu-cutout-padding branch 2 times, most recently from f9f0cad to cff8b1d Compare December 3, 2022 09:06
@JosJuice JosJuice merged commit 6abcaad into dolphin-emu:master Dec 4, 2022
11 checks passed
@t895 t895 deleted the menu-cutout-padding branch January 1, 2023 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants