Android Basics : Introduction to Themes

In the last Article you created a new App ThemeDemoApp. Let’s refer to this App to understand the Theme.

Currently the Activity class extends ActionBarActivity. This class is used in conjunction with Theme.AppCompat themes to add action bar to apps that support API levels b/w 7 and 10. If you use this as the superclass you have to use one of these Themes or your App won’t run.

For now you can refer to the Manifest and style XML files to see how theme is referred to.

Source Code available here

Author: Ankur

I am Enthusiastic about Learning new things and sharing my Knowledge. I like programming and have a pretty good background in Computer Science.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: