johannilsson/android-actionbar — pull request #56 by rfgamaral (2012-01-15 13:59:34+00:00)
Title: Use more appropriate themes on API level 11 and above

I found a small bug on Android which we introduced into ActionBar on 4caf6f3637daabd011107a2e669f9b95e8618139. The problem is with the ```Light``` theme which I'm using in my app. This bug does not exist on the default/dark theme, that's why I noticed it in the first place.

This particular bug happens with all kinds of "popup" windows, like a ContextMenu or an AlertDialog. In the image below you can see the problem on the ```Light``` theme and no problem on the ```Dark/Default``` version:

![](https://lh5.googleusercontent.com/-_SscskAhxFw/TxCzO3jd_II/AAAAAAAAADs/CRFwLEyTFno/s1600/theme-devicedefault.png)

This issue aims to fix it by using the ```.NoActionBar``` sub-themes instead, which, apparently, don't show this weird bug. It actually makes more sense to use these themes **in this specific library**, which is an ActionBar replacement :)

This is the solution for now and hopefully, it doesn't have any side-effect. However, I already reported the problem to [Adam Powell](https://plus.google.com/107708120842840792570) and he said we look into it. I'll be monitoring this and if there's any reason to reverse this commit, I'll fix it as soon as possible. In the mean time, I think it's safe to use these ```.NoActionBar``` sub-themes.