I've been beating my head against the wall on this one for a minute 
now... did I find another bug like the list selector solid color one?

When I set multichoice items for a dialog as seen below my list items 
have white background and white text, when I click or select an item I 
can see the text becomes black and the orange list selector shows as 
expected.... anyone know what's up?


AlertDialog.Builder diag = new 
AlertDialog.Builder(BookmarkEditActivity.this);
                 diag.setTitle("Select Labels");
                 String[] arrLabelsChar = new String[arrLabels.size()];
                 boolean[] arrSelectedLabels = new 
boolean[arrLabels.size()];
                 for (int i = 0; i < arrLabels.size(); i++) {
                     arrLabelsChar[i] = arrLabels.get(i);
                     if (hashLabels.containsKey(arrLabels.get(i)))
                         arrSelectedLabels[i] = true;
                     else
                         arrSelectedLabels[i] = false;
                 }

                 Log.v("SoBook", "Multi Choice Items: "  + 
arrLabelsChar[0]);
                 Log.v("SoBook", "Selected items: " + arrSelectedLabels[0]);

                 diag.setMultiChoiceItems(arrLabelsChar, 
arrSelectedLabels, null);
                 diag.setNegativeButton("Cancel", null);
                 diag.setPositiveButton("OK", null);
                 diag.show();

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to