dfgmorgan
dfgmorgan

Reputation: 1

How create and populate three columns on Android

I need populate three columns in Android activity with dynamic data. How can I do it?

Upvotes: 0

Views: 696

Answers (1)

Gopinath
Gopinath

Reputation: 13051

At a high level, your current task can be achieved by doing the below steps.

  1. Create a standalone linear layout with horizontal orientation and add three TextView views.
  2. In the target layout file, create a ListView with the above created layout.
  3. Bind the listview layout with a data adapter and map the fields to the textview.

This example should get you started and add that background to achieve the above goals.

Upvotes: 1

Related Questions