Hi guys,
after creating some menus with simple_list_item_1
(which worked very fine) I tried to replace this by simple_list_item_2
, but my system throws around with exceptions...
Now I'm wondering how to create such a two-different-sized-line-entry for my list...is there any trap for beginners? Can someone please help me fixing my (small!?) problem?
My code looks like this:
ListAdapter listAdapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_2, fileNames);
setListAdapter(listAdapter);
My String[] fileNames
stores all strings to display in ascending order (does this matter for the functionality?!)
After unsuccessfully searching in some forums I now hope that someone of you can give me an useful suggestion.
nice greetings, poeschlorn