Reputation: 177
Question:- Does android provide any function to retrieve the all themes defined in the system.
Example: Theme_Holo_Light
or others.
Upvotes: 2
Views: 99
Reputation: 26984
Short answer: no
There are only two theme families for Android:
The later was introduced in Android 3.0 Honeycomb API 11, and you can knwo that in the release notes
The standard system widgets and overall look have been redesigned and incorporate a new "holographic" user interface theme. The system applies the new theme using the standard style and theme system. Any application that targets the Android 3.0 platform—by setting either the android:minSdkVersion or android:targetSdkVersion value to "11"—inherits the holographic theme by default.
These themes come with variants (basically: Light and Dark)
So when you design a theme:
Theme.DeviceDefault
, knowing that it will depends on the Android version of each device, hence you may create a variation of your theme in values-v11
for HoloUpvotes: 2