Viewing Image In Full Screen #136
-
"I need some help. I don't know where to ask questions regarding this. The thing is, I want to view an image in full screen by hiding the navigation and status bars. I used |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This is what i tried but the content is still showing
i want to achieve full screen |
Beta Was this translation helpful? Give feedback.
-
So, to control the systemBars I use WindowInsetsController (rememberWindowInsetsController for compose) Add this to your app xml theme to completely move to Fullscreen |
Beta Was this translation helpful? Give feedback.
So, to control the systemBars I use WindowInsetsController (rememberWindowInsetsController for compose)
https://github.com/IacobIonut01/Gallery/blob/v1/app/src/main/kotlin/com/dot/gallery/feature_node/presentation/util/WindowInsetsControllerExt.kt#L11
Add this to your app xml theme to completely move to Fullscreen
https://github.com/IacobIonut01/Gallery/blob/v1/app/src/main/res/values/themes.xml#L5