问题
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