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 |
---|---|
|
A single line with a single caption field |
|
A two-line layout with a larger font and a brighter text color for the first field |
|
A two-line layout with an equal sized font for both lines and a brighter text color for the first line |
|
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 ...
Get Xamarin Mobile Application Development for Android - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.