Android: Adding ListView Sub Item Text?

The simplest solution is probably to substitute the ArrayAdapter and the android.R.layout. Simple_list_item_1 that you are using with a SimpleAdapter and the android.R.layout. Simple_list_item_2 predefined layout.

This layout is composed by two TextView s, with an id of android.R.id. Text1 (the "item") and android.R.id. Text2 (the "sub item") respectively, which you will need as a reference for the SimpleAdapter to work.

You should have an item_list. Xml file like this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions