I am using the following code to display a list of scores and it is working fine, but I want to improve the formatting by adding a space between the username and score (or maybe even some text between them). How can I add stuff into the rows that is not from the database (I could do what I want by adding new fields to the database and using those, but that is hardly ideal...) Any ideas? Thanks.
Using java Syntax Highlighting
String[] from = new String[] { GameDB.KEY_username, GameDB.KEY_score };
int[] to = new int[] { R.id.text1, R.id.text2};
SimpleCursorAdapter userfind =
new SimpleCursorAdapter(this, R.layout.scores, c, from, to);
setListAdapter(userfind);
Parsed in 0.031 seconds, using
GeSHi 1.0.8.4