Exceptions Exceptions - 5 months ago 47
Android Question

Android horizontal layout overlapping edittext

I am new to android development and I would like to have a full screen edit text with some buttons below it. When the keyboard appears, the buttons will float above the keyboard and the edittext will end above the buttons.

enter image description here

This is what I've currently done, as you can see, the edit text is current behind the buttons. How can I make the edit text ends above the layout of the button?

This is my view setup

enter image description here

XML File

enter image description here


You are probably using a RelativeLayout, right? If so, try to add this inside your EditText:


Hope it helps!