0 comments (0 comments)0 reactions (0 reactions)1 assignee (1 assignee)Java33,679 stars (33,679 stars)10,654 forks (10,654 forks)batch import
help wanted
Description
描述需求
KeyboardUtils.isSoftInputVisible 无法判断虚拟键盘,横屏时虚拟键盘很有用,因此希望可以支持
可借鉴的
我看语雀APP是实现了的,说明这个需求是可行的。
Contributor guide
- Tech stack
- javaandroid
- Domain
- mobile
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- half day
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- blocked
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- clear
- Prerequisites
- Android development basicsJavaunderstanding of window insets
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 50
- Research direction
- The current implementation of isSoftInputVisible in KeyboardUtils.java likely uses a method that doesn't account for virtual keyboards, especially in landscape mode. To fix this, examine the existing code and research Android's window insets (WindowInsets) and InputMethodManager to detect soft input visibility. The reference to the '语雀' app suggests this is feasible; look into how it might be implemented, possibly by checking if the navigation bar is concealed or using a custom approach. The assigned developer (@Blankj or other) may have additional context; review any comments or commits related to this issue.