Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#544 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Kotlin
Star
1k
Fork
59
Merge trung bình
13 giờ 21 phút
Pull request đã merge (30 ngày)
48

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LeanBitLab/LeanType

Tất cả issue của LeanBitLab/LeanType

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.