android editText 输入法把选项卡顶上去了怎么办
展开全部
在做登录和注册页面的时候,经常会遇到诸如软键盘挡住输入框的情况,android为此提供了一系列的的配置参数供选择,你可以在的对应Activity的windowSoftInputMode属性中选择如下4者之一进行配置(紫色字):
int SOFT_INPUT_ADJUST_NOTHING
Adjustment option for softInputMode:
set to have a window not adjust for a shown input method.
int SOFT_INPUT_ADJUST_PAN
Adjustment option for softInputMode:
set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by
the framework to ensure the current input focus is visible.
int SOFT_INPUT_ADJUST_NOTHING
Adjustment option for softInputMode:
set to have a window not adjust for a shown input method.
int SOFT_INPUT_ADJUST_PAN
Adjustment option for softInputMode:
set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by
the framework to ensure the current input focus is visible.
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询