This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Applies window transformation flags (WTFs) to aid in supporting | |
* edge-to-edge layouts on Android Q and higher. | |
*/ | |
fun Activity?.applyEdgeToEdge( | |
lightStatusBar: Boolean = false, | |
lightNavigationBar: Boolean = false, | |
transparentStatusBar: Boolean = true, | |
immersive: Boolean = false | |
) { |