由网友(专一的男人)分享简介:当软键盘打开我希望有一个滚动视图向下滚动至底部。When the soft keyboard opens I want a scroll view to scroll down to the bottom.为此,我可以使用:fullScroll(View.FOCUS_DOWN); For this I can u...
当软键盘打开我希望有一个滚动视图向下滚动至底部。
When the soft keyboard opens I want a scroll view to scroll down to the bottom.
为此,我可以使用:fullScroll(View.FOCUS_DOWN);
For this I can use: fullScroll(View.FOCUS_DOWN);
但我怎么触发该命令的软键盘开幕事件触发后?
But how do I fire that command after the soft keyboard opening event triggers?
推荐答案
每this帖子和this帖子在Android开发人员似乎并不像它可以做你想做的。您可能要重新审视你的使用情况为你做什么。的softInputMode标志会为你工作。
Per this post and this post on android-developers it doesn't seem like it's possible to do what you want. You may want to re-examine your use case for what you're doing. Maybe one of the softInputMode
flags will work for you.
相关推荐
最新文章