I have a listView that uses a toString to write text to the listView row.
But for what I’ve seen the listView can only take two rows of text, for example.. I want to write out: “Name: Niklas, Age: 20, Location: Helsingborg, Phonenumber: xxxxxx”
but the listView isnt big enough for all the information to show.
So it only shows this:
“Name: Niklas, Age: 20,
Location: Helsingborg, Phon ..”
My Question:
Can you in some way make the listView rows larger so that it can write out for example three rows of text instead of two? Or do I have to change my listView to another View?
Thanks
Check the following links
Customized listView
&
ListView
The idea is by customizing the lisView by assigning to it its own row layout.
and for the TextView you can assign android:maxLines=”” attribute.