I have a listview which is simply populated this way:
setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_multiple_choice, aux))
'aux' it's static String[] aux = null;
which is populated via Web Service.
I made a theme and tested with static listview elements, file lista.xml -> you can see it here (if you look in the bottom you will see I put "list item 1, list item 2", so I need to populate those values dinamically...)
My question is, how can I apply the theme to my listadapter?
I believe I start with :
setListAdapter(new ArrayAdapter(this, R.layout.lista, aux))
But I have two problems.
(1) I dont know how to work with XML and populating from java (setlistadapter) (2) I believe I will lose checkboxes.
However I appreciate if anyone can help in (1) first :) I really don't know what am doing now!