Kevin
Kevin

Reputation: 23634

Tablelayout or custum listView layout

Can anyone tell me on what layout i need to use to create this type of view in android. I thought of going with TableLayout, but i am not sure on this.

Can anyone help me on this.

Upvotes: 0

Views: 76

Answers (1)

Andy Res
Andy Res

Reputation: 16043

If the content of the sheet is dynamic, then perhaps a ListView would be more apropriate, as the only thing you'll have to do in order to update the list, will be to notify the adapter that the dataset has been changed.

Another option to consider would be an ExpandableListView. This differs from the ListView by allowing two levels: groups which can individually be expanded to show its children.

(The ExpandableListView can be set to be expanded by default, if you don't want to have it expandable.)

Upvotes: 1

Related Questions