Repeating Background Textures in Android

Series: android January 30, 2012

  • Pick something from Subtle Patterns, e.g. irongrip.png and drop it in your drawable-hdpi folder
  • Make a BitmapDrawable, e.g. irongrip_repeating.xml
  • Apply it to a View

The result:

A pretty simple way to spruce up an app, just don’t go overboard. Happy hacking!


built with , Jekyll, and GitHub Pages — read the fine print