Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Feature request - Option to swap toolbar and suggestion strip positions (to auto-collapse empty suggestion strip)

未關閉
#544 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
android, kotlin
領域
mobile

研究方向

Start by locating the keyboard layout code that positions the toolbar and suggestion strip, then trace how the suggestion strip is shown or hidden when predictions are unavailable. Check the relevant UI tests and add coverage for both available and unavailable suggestions. Done means the strip is above the toolbar, the toolbar stays directly above the letter keys, and an unavailable strip collapses without shifting the toolbar.

由索引模型根據 Issue 內容生成。

描述

enhancement

Is your feature request related to a problem?
​Yes. Currently, when word suggestions are unavailable (such as in password fields, terminal windows, non-predictive input fields, or before typing begins), the keyboard leaves an empty, blank suggestion strip. This wastes valuable vertical screen space and creates an unnecessary blank row in the interface.

​Describe the solution you'd like
​Swap the positions of the toolbar and the suggestion strip:
​Place the suggestion strip at the very top of the keyboard.Place the toolbar directly below the suggestion strip, sitting immediately above the top letter row (q-w-e-r-t-y...). With this inverted layout, when no suggestions are available, the suggestion strip at the very top can cleanly collapse/hide without moving or shifting the toolbar relative to the letter keys.
​Use case
​When typing in environments where word prediction is not active or needed (like terminal apps, code editors, search bars, or password inputs), the keyboard automatically shrinks by one row. This reclaims screen space to view more chat history or page content while preserving muscle memory, since the distance between the top row of keys and the toolbar remains fixed.

Image Image Image Image

​Alternatives considered
​Keeping the current layout and simply collapsing the suggestion strip between the toolbar and key rows, which causes the toolbar to drop down and disrupts muscle memory.
​Leaving the empty suggestion strip visible at all times, which wastes screen real estate.
​Completely disabling the suggestion strip in settings, which removes prediction support even when it would be helpful.
​App version & Flavor
​App version: 4.2.6
​Flavor: Standard.

主要語言
Kotlin
星號
1k
分支
59
平均合併
13 小時 21 分鐘
30 天內合併 PR
48

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

LeanBitLab/LeanType 的其他 Issue

查看 LeanBitLab/LeanType 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。