-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
inline var Activity.isFullScreen: Boolean
get() = window.decorView.rootWindowInsetsCompat?.isVisible(WindowInsetsCompat.Type.systemBars()) == true
set(value) {
window.decorView.windowInsetsControllerCompat?.run {
val systemBars = WindowInsetsCompat.Type.systemBars()
if (value) show(systemBars) else hide(systemBars)
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels