Charm 4.0.1 possibility to disable layout adjustment when keyboard shows up

我的梦境 提交于 2020-01-25 21:08:55

问题


I'm facing several problems with the new function which is responsible for adjusting the view layout, when the keyboard shows up.

For example when a DatePicker is shown while a TextField is focused:

Is there a possibility to disable this function?

EDIT:

While removing the focus from the TextField before the DatePicker is shown works, there are still some others issues so I would prefer to use my own custom solution AndroidNodePositionAdjuster.

Another issue e.g. is an unpleasant white area (which will be covered by the keyboard), when the view is transitioned upwards to make room for the soft keyboard, so the transition appears very unsmooth:

来源:https://stackoverflow.com/questions/40369618/charm-4-0-1-possibility-to-disable-layout-adjustment-when-keyboard-shows-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!