Android Question can't set theme

gkc1956

Member
Licensed User
If I change the theme using the manifest editor :
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")
I get :
AndroidManifest.xml:20: error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/Theme.Holo.Light').

Same thing if I try and set Holo.Dark (which I believe is the default).

Thanks

Gordon
 

gkc1956

Member
Licensed User
I forgot to say that I use the compatibility library for API14... Does that make a difference ?

Thank
Gordon
 

thedesolatesoul

Expert
Licensed User
the platform-sdk is backwards compatible, you can always use the latest and it will work all the way back (unless you use a feature from the latest android.jar that doesnt exist on older platforms).
for e.g. themes will just default to the device default theme on android 2.2
 
Top