Is there a simple way to create a button that looks more or less like that in Android, using margins or something similar ? (I do not whant to create Bitmaps)

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.
Yes create an image resource (png file perhaps) that looks like that and set it as the background of the Button.
I am not entirely certain what you mean by not wanting to create bitmaps. But if you mean that you don’t want to use an actual image file, then it might help if you could explain why you don’t want to. But If this is the case no, there is not “a simple way” to do it. You’d have to manually create xml shape objects that make the grey ‘L’ shape and then perhaps use some custom font to create the letters. Then you’d have to adjust padding/margins until it lined up how you want (keeping in mind it may look different on different devices)