DSAppTeam / DSAppTeam/PanelSwitchHelper

android15的适配问题

Open
#222 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

在android15的适配中,如果开启了全屏适配模式。那么这里计算高度就存在问题

var keyboardH = if (imeVisible && hasNavigation) imeHeight - navigationH else imeHeight
            // 发现部分机型键盘可见时,键盘高度返回0,因此这里用已保存的键盘高度
            if (imeVisible && keyboardH == 0) {
                keyboardH = getKeyBoardHeight(context)
            }

这里减去底部栏的高度,反而导致会出现往下偏移,被输入法挡住内容的情况

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

Locate the keyboard-height calculation shown in the issue and inspect how Android 15 fullscreen mode handles IME and navigation-bar heights. Reproduce the case with fullscreen adaptation enabled on Android 15; done means the content is not shifted downward or obscured by the keyboard.

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
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.