I wounder how its possible to make a shape like the example, with round corners and padding from the screen borders, and also put text inside, how is this possible?

I wounder how its possible to make a shape like the example, with round
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.
You can either use image buttons that contain image background with e.g. rounded corners or draw your own shapes, Android Shapes.
Using ImageButton you can define hover, focus and default state of a button and appy a background image to each state.
Here is a small code example with source, tutorial.