To answer your question (hiding image when keyboard pops up), use the following piece of code to hide/unhide the image.
edit_Text.setOnFocusChangeListener(new OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if(hasFocus){
image_view.setVisibility(View.GONE);
}else {
image_view.setVisibility(View.VISIBLE);
}
}
});
You can add this code on all the edittexts. But the best way to handle your situation would be to add all your content into a ScrollView
so that when you use adjustResize
it will automatically scroll up your views and the user can scroll to whichever fields he wants to go and he can also see the image.