The activity theme is Theme.AppCompat.Light.DialogWhenLarge
. I can not get the activity to resize when keyboard is up. Configuring android:windowSoftInputMode="adjustResize"
or getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
has no effect, all I'm getting is adjustPan
behaviour. However, I can confirm that adjustNothing
works. Any ideas how to make an activity with DialogWhenLarge
theme to resize with keyboard?
Result with adjustResize
:
Result with adjustNothing
: