Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#544 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
android, kotlin
Domínio
mobile

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Kotlin
Estrelas
1k
Forks
59
Merge médio
14h 37min
PRs com merge (30d)
54

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de LeanBitLab/LeanType

Todas as issues de LeanBitLab/LeanType

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.