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 摘要。