Android Jared
Lurker
Hello all, I am wanting to change my listView from the normal ArrayAdapter<String> (simple_list_item_1) to something more like this:
Name ...............................20/25(aligned center right)
Date Created
So There's 3 Views...
1. name
2. date
3. score
I've looked up how to make custom adapters and layouts but they are all very confusing. I just want a simple fix that I can add to an existing project.
Here's my code for my list right now:
//update listView
listAdapter = new ArrayAdapter<String>(GradesActivity.this, android.R.layout.simple_list_item_1, names);
mListView.setAdapter(listAdapter);
Help is appreciated!
Name ...............................20/25(aligned center right)
Date Created
So There's 3 Views...
1. name
2. date
3. score
I've looked up how to make custom adapters and layouts but they are all very confusing. I just want a simple fix that I can add to an existing project.
Here's my code for my list right now:
//update listView
listAdapter = new ArrayAdapter<String>(GradesActivity.this, android.R.layout.simple_list_item_1, names);
mListView.setAdapter(listAdapter);
Help is appreciated!