I need to create two buttons with sharp corners on the one side, that complement each other. Like this:

I need to create two buttons with sharp corners on the one side, that
Share
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.
First thing that come in mind:
use a “merge” instead of the classic FrameLayout and make your 2 buttons slightly overlap:
http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/
Edit:
Do not forget to add drawables for the pressed, selected states and make sure the borders are well done, so the behaviour won’t be too weird when selected/pressed.