Have you tried using a ContextThemeWrapper?

2011/6/10 String <[email protected]>

> This seems like it should be doable, but I haven't had any luck yet. The
> situation is that I have a Honeycomb-compatible app with an activity
> using android:theme="@android:style/Theme.Holo.Light", but I'd like a dialog
> created in this activity to use the normal (dark) Holo theme. What I've
> tried so far are mostly variations on
>
> new AlertDialog.Builder(this, android.R.style.Theme_Holo_Dialog);
>
> which seems like it ought to work, but doesn't - the dialog ends up with a
> weird, unreadable, double-bordered mongrel theme.
>
> Any ideas? Thanks!
>
> String
>
>  --
> 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

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