Skip to content

android15的适配问题 #222

@zengcanxiang

Description

@zengcanxiang

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions