ModelViewer3D icon indicating copy to clipboard operation
ModelViewer3D copied to clipboard

Hide status bar

Open yuriyuvarov opened this issue 1 year ago • 0 comments

It would be nice to hide status bar. But options menu should be moved somewhere.

val windowInsetsController = WindowCompat.getInsetsController(window, window.decorView) windowInsetsController.systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.containerView)) { v, insets -> ... val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()) v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom) windowInsetsController.hide(WindowInsetsCompat.Type.statusBars())

yuriyuvarov avatar Nov 26 '24 18:11 yuriyuvarov