How to setSoftInput for a activity containing navHostFragment?

35 Views Asked by At

I want my views in a fragment to be resized when the soft keyboard appears. I tried setting the windowsoftInputMethod in the manifest, in the activity containing the fragments, and even in the fragments separately but nothing is happening. If I remove the NavHostFragment from my layout the methods are working

0

There are 0 best solutions below