Tag: listview

  • Building a Custom Multi-Line ListView in Android

    This tutorial will walk you through building a custom multi-line ListView in Android. We’ll achieve this by extending BaseAdapter (or concrete ArrayAdapter) to turn a collection of objects into individual ListView items. First, let’s define the layout for our scrollable ListView by placing the following in main.xml: [xml] <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"…