AppIntro/AppIntro

Immersive mode not coloring notch

開放

#1,196 建立於 2024年4月14日

 (1 則留言) (0 個反應) (0 位負責人)Kotlin (1,766 個分叉)batch import
help wanted

倉庫指標

星標
 (10,572 顆星)
PR 合併指標
 (平均合併 55天 22小時) (30 天內合併 4 個 PR)

描述

🐛 Describe the bug

When using setImmersiveMode(), devices with a notch get a black bar instead of the choosen fragment color.

⚠️ Current behavior

(by the way, this part of the issue-template contains a slight error)

With notch:

Without notch:

✅ Expected behavior

The device with the notch should look like the one without, except for the actual notch.

💣 Steps to reproduce

Use setImmersiveMode() on a device with a notch, or enable the notch in an emulator.

📷 Screenshots

See above

📑 Your Code

This repository contains an app with the nessessary code. The "IntroActivity" has an onResume with the immersive-call. https://github.com/newhinton/disky

📱 Tech info

  • AppIntro Version: 6.3.1
  • Device: Android Emulator
  • Android OS Version: API 33

貢獻者指南