I have a view with a Edittext field on top of an ImageView. When the keyboard comes up I want the window to resize so that EditText is no longer hidden by the keyboard. In the AndroidManifest file I declared android:windowSoftInputMode="adjustResize" and the screen is resized but the issue is that I want the ImageView to not be re-sized.
How can I make the ImageView unaffected?
Could I inflate an additional layout with just the ImageView or will the resize still affect it?

The full solution involves a few key points
RelativeLayout, so thatViewscan be setup to overlap one anotherEditTextwith the bottom of theWindowsusingandroid:layout_alignParentBottom="true"android:windowSoftInputMode="adjustResize"in your manifest, so that the bottom of theWindowchanges when the keyboard pops up (as you mentioned)ImageViewinside aScrollViewso that theImageViewcan be larger than theWindow, and disable scrolling on theScrollViewby usingScrollView#setEnabled(false)Here is the layout file
Here is my Activity
My AndroidManifest
Screen shots of my solution