I think it is because of the LinearLayout that you are using. Can you please change your inner layout with relative layout? In your current situation, keyboard just changes the margins between components because of the linear layout. And change your config with adjustNothing.