-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Summary
Add support for a floating keyboard mode, where the keyboard can be detached from the bottom of the screen and freely repositioned anywhere on the display.
Motivation
Floating keyboard is a highly useful feature for multitasking — especially on large-screen devices like tablets and foldables, or when using split-screen / picture-in-picture mode. It allows users to position the keyboard wherever it's most comfortable without obstructing content.
Popular keyboards like Gboard and SwiftKey and open source FUTO keyboard already support this, and many users expect it as a standard feature.
Proposed Behavior
- A toggle (e.g., in the toolbar or settings) to switch to floating mode
- The floating keyboard should be draggable to any position on the screen
- Optionally resizable
- Easy way to snap it back to the default docked position
Why LeanType?
LeanType already has excellent customization options (split keyboard, one-handed mode, touchpad mode). Floating mode would be a natural addition to this lineup and would make the keyboard significantly more versatile on larger screens.
Platform
Android (all screen sizes, especially tablets and foldables)
Additional Context
This feature may require using WindowManager to display the keyboard view as an overlay when in floating mode. HeliBoard (the upstream project) does not currently implement this either, so it would be a LeanType-exclusive enhancement.
Happy to help test if needed. Thanks for the great work on LeanType! 🙏