Is there a way to programmatically change the value of an activity's windowSoftInputMode? I want to set it to adjustResize in one view, and to not resize on another view (Both the views in the same activity)
Try this:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With