Tag Archives: buttons

Create gradient filled buttons with rounded corners

Create gradient filled buttons with rounded corners

Android has a standard set of buttons for user interaction, and the latest ICS guidelines recommends how your application should look and behave. For the majority of applications you would want to stick to the guidelines, but there are some cases when more striking buttons are more preferable.

For example, applications aimed at children need be more colourful with bolder text, to grab their attention. You could use image buttons, with the ImageButton class, where the buttons are created as an image. However, you will need to create multiple image buttons at various resolutions, i.e. ldpi, mdpi, hdpi, etc.

Continue reading Create gradient filled buttons with rounded corners