jMonkeyEngine / jMonkeyEngine/jmonkeyengine
AndroidHarness : support display cutouts
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
Currently the AndroidHarness does not support display cutouts (see https://developer.android.com/develop/ui/views/layout/display-cutout). This feature would allow the display to exploit the whole screen instead of leaving a margin at the notch/cutout, which is essential for a perfect immersive experience.
The AndroidHarness fullscreen option is not sufficient since it does not set the required flags.
One solution would be to (add an option to) add the flag WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the AndroidHarness fullscreen option and its Android window-flag handling. Check the Android display-cutout guidance linked in the issue, then verify that the resulting fullscreen mode uses the available screen area without leaving a notch margin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100