Understanding Resources

Resources are the additional static content and files that are an intrinsic part of your application but aren’t part of your Java code. Resources can take these forms:

check.png Layout

check.png String

check.png Image

check.png Dimension

check.png Style

check.png Theme

check.png Value

check.png Menu

check.png Color

Earlier chapters in this book introduce you to layouts, strings, and images because they’re the most common types of resources that you use in everyday Android application development. The remaining resources may be muddy, so the following few sections clear them up.

Dimensions

In an Android resource, a dimension is a number followed by a unit ...

Get Android Application Development For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.