I guess you have to create widget using the right context. I use a ContextThemeWrapper to show a dark popup also if app has a light theme:
popupContext = new ContextThemeWrapper(this, R.style.AppThemeDark); AlertDialog.Builder b = new AlertDialog.Builder(popupContext); ... ... ... b.show(); Il giorno domenica 29 settembre 2013 05:56:15 UTC+2, bob ha scritto: > > Is there an easy way to have a widget take on the style of a theme other > than the current one? > > For instance, maybe the current theme is Theme.Holo but you want a widget > to look like Theme.Light. > > Thanks. > > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

