Friday, June 10, 2011

Re: [android-developers] Main activity themed Holo.Light, dialog themed plain Holo?

No I hadn't. So what I'm doing now is:

ContextThemeWrapper context = new ContextThemeWrapper(this, android.R.style.Theme_Holo);
AlertDialog.Builder builder = new AlertDialog.Builder(context);

Unfortunately, that still doesn't do it. It's better - the dialog has most of the dark Holo look - but the embedded controls (a DatePicker and TimePicker) aren't picking it up, their text is black-on-black.

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

No comments:

Post a Comment