Create a base activity for your app and override onCreate
to set the theme. Derive all your other activities from this base activity.
Also check this tutorial:
http://www.androidengineer.com/2010/06/using-themes-in-android-applications.html
More Related Contents:
- How do I change the background color of the ActionBar of an ActionBarActivity using XML?
- Full Screen Theme for AppCompat
- Set theme for a Fragment
- How to center align the ActionBar title in Android?
- UnsupportedOperationException: Can’t convert to dimension: type=0x1
- How can I style an Android Switch?
- Can’t Find Theme.AppCompat.Light for New Android ActionBar Support
- How to reference style attributes from a drawable?
- How to: Define theme (style) item for custom widget
- How to hide status bar in Android
- Apply a theme to an activity in Android?
- Theme/Style is not applied when inflater used with ApplicationContext
- How to use Holo.Light theme, and fall back to ‘Light’ on pre-honeycomb devices?
- How to use device default theme for app?
- android themes – defining colours in custom themes
- Android – margins specified in custom style not taking effect
- Get color value programmatically when it’s a reference (theme)
- How to set Toolbar text and back arrow color
- Why so complex to set style from code in Android
- Android checkbox style
- Change background popupMenu in Android
- Implementing user choice of theme
- How can I make the status bar white with black icons?
- Android: making a fullscreen application
- How do I style appcompat-v7 Toolbar like Theme.AppCompat.Light.DarkActionBar?
- Change Android 5.0 Actionbar color
- android search dialog customization
- Themes in Android?
- What are the default color values for the Holo theme on Android 4.0?
- Android – Making activity full screen with status bar on top of it