Monday 20 June 2011

Apply Theme in Android

In Android SDK so many  predefine themes are theier, you can change the theme by adding a code in the file AndroidManifest.xml in your Project.

Inside Application tag to take effect on whole Application:
<application android:icon="@drawable/icon" android:label="@string/app_name"
 android:theme="@android:style/Theme.Black"
 >


Inside Activity tag to take effect on individual Activity:
  <activity android:name=".TestThemeActivity"
              android:label="@string/app_name"
              android:theme="@android:style/Theme.Light"
              >

No comments:

Post a Comment

Android SQLite Database Viewer or Debuging with Stetho

Every Android Developer uses SQLite Database to store data into the Android Application data. But to view the data in SQLite have a lot of...