2012-11-10 154 views
-1

我已经创建了包含字段id,Name,Con的SQLite数据库应用程序。我想以表格格式显示值。我已经用arraylist来保持价值。它仅以行格式显示值。请帮助我,我如何以表格格式显示值?在列表视图如何以表格格式显示SQLite数据库中的值

+2

显示你做了什么。 –

回答

2

绑定ArrayList的使用BaseAdapter或ArrayAdapter和... ...看起来像表格式..创建一个自定义XML ..并通过膨胀视图..

0
Try using table layouts with textview in a tablerow tag.. 
like.. 
<TableLayout> 
<TableRow> 
<TextView/> 
<TextView/> 
<TableRow> 
<TableLayout> 
相关问题