Re: [android-developers] Re: Spinner selection dialog without spinner

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 12:40 PM, maik maik.wi...@googlemail.com wrote: Where do I get the source code you mentioned? I used Google Code Search: http://www.google.com/codesearch Include the package:android clause in there, and it will restrict your search to Android-related code. Otherwise,

Re: [android-developers] Re: Spinner selection dialog without spinner

2010-06-22 Thread Mark Murphy
On Tue, Jun 22, 2010 at 4:23 PM, maik maik.wi...@googlemail.com wrote: I now read all my database values into an array and use ArrayAdapter to fill the AlertDialog. That's not a good idea. You waste a fair bit of memory and CPU time this way. The problem is, the list shows the list entries

Re: [android-developers] Re: Spinner selection dialog without spinner

2010-06-22 Thread Mark Murphy
On Tue, Jun 22, 2010 at 4:56 PM, maik maik.wi...@googlemail.com wrote: What is the predefined layout android.R.layout.simple_list_item_single_choice good for if it uses the same color for text and background? That's for ListView. ListView is not AlertDialog. AlertDialog uses