How to set android:windowSoftInputMode = "adjustResize"in Android Manifest file?

This is a common question.

You can’t change the Android Manifest file with Expo since the binary is already built but that option is already set in Expo. (source code: )

If you really want to edit it, you’d have to eject and mess with the native code yourself.

Mostly people want the “adjustResize” option set because they want to make it easier to deal with keyboards affecting views.

In the words of @notbrent:

Unfortunately there is some misinformation being spread around the react native community and i’m not quite sure where it comes from
There isn’t really a magic bullet where you can toggle some config and your views respond to keyboard gracefully

Anyway, just posting here since this is a common question.

To clarify: this is already set in Expo – android:windowSoftInputMode = “adjustResize” is set on all Expo apps



Is it again the case with lastest versions ?

Because react-native-gifted-chat not working correctly since SDK 19.

We should be able to control that value via app.json in Android section. Right now it doesn’t seem to be working.

set an android status bar color using – the option doesn’t do anything unless you have an opaque status bar (it defaults to translucent in expo)

Android keeps pushing up the footer when using the keyboard (Input) while iOS doesn’t. Is this something that Expo has on it’s radar?

read this for more info:

Sorry to dig into this old thread but is it possible to change android:windowSoftInputMode="adjustPan" instead of adjustResize ?

I am having an issue with the animation that triggers when from the tabBar hiding when the keyboard shows. It looks like having it set to adjustResize may fix it.

I second what @morenomdz said. I’m having an issue with the keyboard on android pushing everything up. How can I set windowSoftInputMode to adjustPan?

1 Like

I third what @morenomdz said.

To keep this updated, you can enable in the app.json via:

But, I think it is not working as it should, changing this option under the “Android” config section, restarting expo, wont change anything. There is also some bug that the keyboard will push a modal view up that happens only in android and it hard to handle. I recommend using the package KeyboardAwareScrollView for now.


adding "softwareKeyboardLayoutMode":"pan" to the android section of app.json workes just as expected.
Thank You!

what is the problem you were facing with this?

1 Like