-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Describe the bug
A margin remained on the top in a fullscreen.
It seems to be a problem caused by the status bar.
To Reproduce
- Go into a fullscreen.
window.setDecorFitsSystemWindows(false)
window.insetsController?.let {
it.hide(WindowInsets.Type.systemBars())
it.systemBarsBehavior = WindowInsetsController.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
}
- Show a prompt using compose.
val context = LocalContext.current as ComponentActivity
MaterialTapTargetPrompt.Builder(context)
.setTarget(composeViews[index])
.setPrimaryText(primaryTexts[index])
.setSecondaryText(secondaryTexts[index])
.setBackgroundColour(colorTypedArray.getColor(index, 0))
.show()
- See a space on the top of the screen..
Expected behavior
No space above the prompt.
Stack trace
Nothing.
Smartphone (please complete the following information):
- Device: Galaxy A32
- OS: Android 13 Tiramisu API 33
- Library version 3.3.2
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
