So in the mean time is there anything we can do (other than setting
our theme to Dark) to get this to work?

Is there a way to set the theme of the AlertDialog Builder?



On Jan 21, 5:28 pm, Mark Nuetzmann <[email protected]> wrote:
> We found a bug in Android....
>
> Our theme for the Application was set to android:theme="@android:style/
> Theme.Light" .
>
> Setting the theme back to dark and our text now displays...
>
> Dear Google Developers,
> Please fix this if you have not already.
>
> thank you.
>
> On Jan 21, 10:55 am, Mark Nuetzmann <[email protected]> wrote:
>
> > There was a similar post to this but used an activity and I am using a
> > dialog.  This is real simple code and it works int he APIDemo (which
> > is where I pulled the code from to begin with).
>
> > The dialog display just fine with the correct number of radio buttons,
> > but the text for the buttons does not display UNLESS I press/select an
> > item.  Then once I let up on the selection it disapperas again...
>
> > what in the world am I not getting???
>
> >             return new AlertDialog.Builder(this)
> >             .setTitle(R.string.choose_location_in_list)
> >             .setSingleChoiceItems(R.array.select_add_location, 1, new
> > DialogInterface.OnClickListener() {
> >                 public void onClick(DialogInterface dialog, int
> > whichButton) {
> >                 }
> >             })
> >             .setPositiveButton(R.string.add_to_favs, new
> > DialogInterface.OnClickListener() {
> >                 public void onClick(DialogInterface dialog, int
> > whichButton) {
> >                 }
> >             })
> >             .setNegativeButton(R.string.cancel, new
> > DialogInterface.OnClickListener() {
> >                 public void onClick(DialogInterface dialog, int
> > whichButton) {
> >                 }
> >             })
> >            .create();
>
> > my array looks like this,
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <resources>
> >     <string-array name="select_add_location">
> >         <item>Add to Top</item>
> >         <item>Add to Bottom</item>
> >         <item>Add and Define</item>
> >     </string-array>
> > </resources>
--~--~---------~--~----~------------~-------~--~----~
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