jMonkeyEngine / jMonkeyEngine/jmonkeyengine

AndroidHarness : support display cutouts

Open
#1,861 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Android defect
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.