Using Themes on Android Mobile Application
you can apply styles as themes on an activity level or application level.
if you apply a theme on an activity level then all widgets within that activity will inherit from that theme.
to do so, open the AndroidManifest.xml and go the <activity> tag and add the android:theme attribute:
<activity android:name=".StylesDemo" android:label="@string/app_name" android:theme="@style/BlueLabel">
to apply a theme on the application level so that the style will be applied to all activities within your application,
open the AndroidManifest.xml and go the <application> tag and add the android:theme attribute:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/BlueLabel">
to set the theme of an activity programmatically call this line in the onCreate method
this.setTheme(R.style.BlueLabel);