A (175)

(Tuis.) #1
CHAPTER 4: Introduction to XML: Defining an Android App, Its Design, and Constants 119

As you can see a “dark” theme uses Black as a background color instead of White, and uses White
text instead of Black text. The same changes are applied to the ActionBar, which uses a Cyan-colored
separator bar instead of no separator bar (see Figure 4-10). Next, we’re going to try the Holo Light
OS theme, so you can see some of the different looks you can get for your application, simply by
changing one XML style tag parent= parameter!


Figure 4-13. Viewing the Holo Dark theme in the Nexus One AVD

Free download pdf