Various Themes available in Android
A Theme in Android is a style which is applied to whole application or a single activity.Android has provided a large collection of themes defined under R.style class.
So the various Themes which are available according to the version are given below.
In API level 10 or lower
In API level 10 or lower
- <style name="Theme"> -This is the default themes for app in API level 10 or lower.other variant for this themes are:
- <style name="Theme.NoTitleBar">
- <style name="Theme.NoTitleBar.Fullscreen">
- <style name="Theme.Light"> -It has a light background with dark text on the top.other variant for this themes are:
- <style name="Theme.Light.NoTitleBar">
- <style name="Theme.Light.NoTitleBar.Fullscreen">
- <style name="Theme.Black"> -Its background is completely black ,useful for image viewer and media player .Other variant for this themes are:
- <style name="Theme.Black.NoTitleBar">
- <style name="Theme.Black.NoTitleBar.Fullscreen">
- <style name="Theme.Wallpaper"> -It puts user selected themes as a background.Other variant for this themes are:
- <style name="Theme.Wallpaper.NoTitleBar">
- <style name="Theme.Wallpaper.NoTitleBar.Fullscreen">
- <style name="Theme.WallpaperSettings"> - It is for wallpaper setting activity ,designed to be a transparent background with a dark shade so that previous activity remains visible in the background.
- <style name="Theme.Light.WallpaperSettings"> - It is for wallpaper setting activity ,designed to be a transparent background with a light shade so that previous activity remains visible in the background.
- <style name="ActiveWallpaperSettings"> -Style to apply on the top of wallpaper setting themes when it is being shown on the top of real walpaper.
- <style name="PreviousWallpaperSettings"> -Style to apply on the top of wallpaper setting themes when it is being shown on the top of real walpaper.
- <style name="Theme.Translucent"> -It allows you to see through them the window behind.Other variant are:
- <style name="Theme.NoDisplay"> -default theme for activity that donot display the user interface.They Finish themselves before being resumed.
- <style name="Theme.Dialog"> -This is the default themes used by the dialog window and activities.Other variant are:
- <style name="Theme.Dialog.NoFrame">
- <style name="Theme.Dialog.Alert">
- <style name="Theme.Panel"> -This is the default dark themes for the panel windows.
- <style name="Theme.Light.Panel"> -This is the default light themes for the panel windows.
- <style name="Theme.Holo.Panel"> -This is the default holo dark themes for the panel windows.
- <style name="Theme.Light.Panel"> -This is the default holo light themes for the panel windows.
In API level 11-13
- <style name="Theme.Holo"> -This is the default theme for the API 11-13 and its background is translucent.Other variant of this themes are;
- <style name="Theme.Holo.NoActionBar">
- <style name="Theme.Holo.NoActionBar.Fullscreen">
- <style name="Theme.Holo.Light.NoActionBar">
- <style name="Theme.Holo.Light.NoActionBar.Fullscreen">
- <style name="Theme.Holo.Dialog">
- <style name="Theme.Holo.Dialog.MinWidth">
- <style name="Theme.Holo.Dialog.NoActionBar">
- <style name="Theme.Holo.Dialog.NoActionBar.MinWidth">
- <style name="Theme.Holo.Dialog.FixedSize">
- <style name="Theme.Holo.Dialog.NoActionBar.FixedSize">
- <style name="Theme.Holo.Dialog.NoFrame">
- <style name="Theme.Holo.Dialog.Alert">
- <style name="Theme.Holo.Light.Dialog">
- <style name="Theme.Holo.Light.Dialog.MinWidth">
- <style name="Theme.Holo.Light.Dialog.NoActionBar">
- <style name="Theme.Holo.Light.Dialog.NoActionBar.MinWidth">
- <style name="Theme.Holo.Light.Dialog.FixedSize.NoActionBar.FixedSize">
- <style name="Theme.Holo.Light.Dialog.Alert">
- <style name="Theme.Holo.Wallpaper">
- <style name="Theme.Holo.Wallpaper.NoTiltleBar">
In API 14 and after
- <style name="Theme.DeviceDefault"> -it apply different style on different device.and if you want to use particular theme all the time then you need to declare it manually in Manifest file.
No comments:
Post a Comment