enableNavigationBar

abstract fun enableNavigationBar(context: Context, navigationBarButtons: Array<NavigationBarButtons>): Boolean

Show the navigation bar with back and/or home buttons. This method will add the provided buttons to the navigation bar, that means that if the HOME button already been enabled by another activity and the provided button is BACK for this activity, both buttons will be shown. Hiding the navigation bar can be done by using the Android API method View.setSystemUiVisibility with the flags View.SYSTEM_UI_FLAG_HIDE_NAVIGATION and View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY int the application.

Return

true if operation was successful, otherwise false..

See also

Parameters

buttons

Buttons to be enabled on the navigation bar.