Hello

I have a simple ListActivity midlet. It populates the list using a
String array which is passed to the setListAdapter method.

i.e.:


String[] directoryListing = {"\etc","\dev", "writetext.txt"};

setListAdapter(new ArrayAdapter<String>(this,
                                R.layout.main, R.id.selection,
                                directoryListing));


However my question is, how is it possible to modify the properties of
the list so if I know "\etc" and "\dev" are directories and I want to
change the text colour to reflect that it is a directory how can I do
this ?

Can anyone point me to any API's ?

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to