Hi, is there a way of controlling the position of ...
# compose
d
Hi, is there a way of controlling the position of Keyboard on screen, in Compose? We are modifying the Window manager with
wm overscan
, to hide navigation controls all-together (you cannot swipe down to bring up notification shade). But this also moves the keyboard, and hides part of it. Our application is always in landscape and is the only one running. Hacky solutions are welcome.
c
This isn’t really a Compose question.
d
I guess you are right, I will try asking in #android.
c
Apps have no particular control over where the keyboard is displayed. Sounds like you just want to go into immersive mode: https://developer.android.com/training/system-ui/immersive
d
Thanks for the response, but this does not cover all cases for us, because we don’t want the navigation to show at all.
c
Well apps shouldn’t be doing that, which is why there isn’t a way. You’re breaking the fundamental device navigation for users.
1
If this is for some sort of dedicated device, you could look at Lock Task mode: https://developer.android.com/work/dpc/dedicated-devices/lock-task-mode
❤️ 1
d
This seems like exactly the solution we need. Thanks!