xml - Design in Android, Shapes -


I really like how to make a shape like an example, with rounded corners and rounded corners and padding, even more Insert text inside, how is it possible? alt text

You can either use the image button with the picture button, for example to draw the rounded corners or your own shapes.

You can define hover, focus and default state using and you can put a background image in each state.

Here is a small code, with examples of the source.


Comments