I need to add some custom buttons for an EditText that sits on top of an Android keyboard. As in the image:
These buttons should be hidden if there is no keyboard
Try using RelativeLayout with the android property: alignParentBottom = "true". This should contain any content that you post with this property in a RelativeLayout at the bottom of the screen.