Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Android User Interface > Adding Color and Graphics

6.9. Adding Color and Graphics

Our application works well, but it’s a bit dull looking. A little bit of color and some graphics could go a long way. Android offers a lot of support to make your application snazzy. We’re going to see some basics here.

6.9.1. Adding Images

For starters, we want to add a background to our screen. This background is going to be some kind of graphics file. In Android, most images go to a resource folder called drawable. You may notice that you already have three folders with this name:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial