It does seem to contradict but looking at *
res/values/themes_device_defaults.xml* on API Level 15 source (look here: 
http://pastebin.com/rj5LwgVf) we can see that both the *Theme.DeviceDefault*and 
*Theme.DeviceDefault.Light* inherit from *Theme.Holo* and *Theme.Holo.Ligh*t, 
respectively. But they both override some styles. For some reason these 
overrides (this is just my guess though) are messing up the Light theme and 
not the default one.

We can also see on...

Line 179:
    <style name="Theme.DeviceDefault.NoActionBar" 
parent="Theme.Holo.NoActionBar" >

    </style>

Line 325:
    <style name="Theme.DeviceDefault.Light.NoActionBar" 
parent="Theme.Holo.Light.NoActionBar" >

    </style>

There are no overrides and when I use this *Light.NoActionBar* theme, 
everything works as expected. To me it's not a problem because I use a 
library for the ActionBar, not the native one. But for people who does need 
the native one, this is not a good solution.

There's something really strange going on with ICS themes...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to