Resizing RelativeLayout while the keyboard is active

0

Good evening! I'm a beginner on android, so excuse me if it's a dumb question. I did not find a solution to my problem in this forum, so I decided to create this post. I have a very simple application, as in the image below:

asked by anonymous 09.12.2015 / 04:13

1 answer

1

franM answered my question in comment:

You can use this tag in the manifest:

android:windowSoftInputMode="adjustResize"

Or it can be set via Activity also

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE‌​);
    
09.12.2015 / 16:30