Android Question IME_HeightChanged manifest


Licensed User

I have added SetActivityAttribute(Main, android:windowSoftInputMode, adjustResize|stateHidden) to the manifest for using the Ime_heightChanged event but it only works if I add the same line one by one all the activities I need to handle de IME event.

Is there a single line for the manifest that recognize all the activities?

By the way, some activities work without adding the specific line to the manisfest... some don't. The ones that don't work, just with adding its own line to the manisfest work!

Thank you!
Last edited:


Licensed User
Longtime User
I am willing to bet when @Erel sees your thread, he will advise to use B4XPages and only worry about it once in the main activity and have access to it across all pages. See this link how it is handled in a B4XPages project.
Upvote 0