O'Reilly logo

Xamarin Mobile Application Development for Android - Second Edition by Nilanchala Panigrahy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the POI list row layout

We now turn our attention to the layout for each row in the ListView widget. The Android platform provides a number of default layouts out of the box that can be used with a ListView widget:

Layout

Description

SimpleListItem1

A single line with a single caption field

SimpleListItem2

A two-line layout with a larger font and a brighter text color for the first field

TwoLineListItem

A two-line layout with an equal sized font for both lines and a brighter text color for the first line

ActivityListItem

A single line of text with an image view

All of the preceding three layouts provide a pretty standard design, but for more control over content layout, a custom layout can also be created, which is what ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required