I need to add some custom buttons for an EditText which sits on top of the android keyboard.
Just like in the image:

These buttons should hide when there is no keyboard
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try using a RelativeLayout with the property android:alignParentBottom=”true”. This should keep any content you place with that property within the RelativeLayout at the bottom of the screen.