Android_n00b wrote: > For example, if I start typing the characters of January, I should see > the word January appear below the textbox (like how google suggest > works). So my program seems to be working, but when I start typing Jan > for example, a box appears below with the word January in it, but I > can only see the text when it is highlighted. So for some reason, the > text is the same colour as the background box(white in this case). > Anyone know why this is happening?
What layout are you using for the ArrayAdapter used for the AutoCompleteTextView? http://developer.android.com/guide/tutorials/views/hello-autocomplete.html ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_dropdown_item_1line, COUNTRIES); If you do not wish to use android.R.layout.simple_dropdown_item_1line, that is fine, but you will need to then adjust your own custom layout to have the right color scheme for drop-down lists. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.1 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

