I've implemented the technique described in the recent article Holo 
Everywhere<http://android-developers.blogspot.com/2012/01/holo-everywhere.html>posted
 on Android Developers blog in my own app and I've noticed a strange 
behavior when using *Theme.DeviceDefault.Light* running Android 4.0.3 on 
the emulator. The problem occurs with popup dialog windows, like 
AlertDialog.

I've created a simple app with a few controls and a button. The button 
opens a AlertDialog with 2 buttons. The problem is obvious, just look at 
the image below. When using the dark theme (Theme.DeviceDefault) everything 
is fine, but the light theme, not so much:

<https://lh5.googleusercontent.com/-_SscskAhxFw/TxCzO3jd_II/AAAAAAAAADs/CRFwLEyTFno/s1600/theme-devicedefault.png>

Basically, the background turns completely white, the AlertDialog is 
vertically aligned to the top and the text is barely readable with that 
color contrast.

Is this a bug or expected? I hope it's not cause it doesn't make much 
sense...

My app doesn't really look that great on a black background, I really want 
to use the Light theme but this looks horrible. Any suggestions?

-- 
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