DSAppTeam / DSAppTeam/PanelSwitchHelper

在使用蓝牙键盘场景下,顶起底部布局的高度不正确

Open
#130 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
Java
Stars
2.4k
Forks
287
PR merge metrics
No merged PRs in 30d

Description

Androidx版本:是
PanelSwitchHelper版本:v1.3.13
手机型号: 小米9
手机系统版本: Android 10
问题描述: 在使用蓝牙键盘场景下,顶起底部布局的高度不正确。正常情况是使用蓝牙键盘不会显示虚拟键盘,所以占用的高度是输入预览条的高度。

录屏提供:
https://user-images.githubusercontent.com/12608693/114138094-b397ee00-993f-11eb-8fc6-fd842df97964.mp4

Log提供:
Log.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Bluetooth-keyboard scenario described in the issue and reviewing the attached Log.txt and recording. Trace how the Android layout height is calculated when no virtual keyboard is shown but the input preview bar remains. Done means the bottom layout is raised by the correct preview-bar height in this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.