How to move the layout up when the soft keyboard is shown Android?

Sometimes, you need to change the layout when the soft keyboard appeared on the screen. You can fix this by adding a line of code into the AndroidManifest.xml file within the relevant activity section.

android:windowSoftInputMode="adjustResize"```

Add this code to the activity.
```kotlin

            
                

                
            
        
```

	










	
	

	
Last modified 17.01.2025: new translations (f32b526)