Skip to content

setStatusBar

Hide Or Show the Navigation Bar and Status Bar.

valuedescription
trueShow the Navigation Bar and Status Bar.
falseHide the Navigation Bar and Status Bar.
kotlin
class MainActivity : ComponentActivity() {
    // init zcapi
    private var displayer = zcapi()

    override fun your_app_method() {
        this.displayer.setStatusBar(true)
        // ....
}

© All rights reserved. Dingshang Metal Products Co., Ltd.