我想创建以下格式的自定义列表视图。例如如何在自定义列表视图中添加textview和editview?
_______________________________________
| |
| ----------- ------------ |
| Principal EditView |
| ----------- ------------ |
| |
| ----------- ------------ |
| Years EditView |
| ----------- ------------ |
| |
| ----------- ------------ |
| Rate of Int EditView |
| ----------- ------------ |
|_______________________________________|
_______________________________________
| |
| ----------- ------------ |
| Interest EditView |
| ----------- ------------ |
|_______________________________________|
_______________________________________
| |
| ----------- ------------ |
| Simple Int EditView |
| ----------- ------------ |
|_______________________________________|
_______________________________________
| |
| ------------ ------------ |
| Compond Int EditView |
| ------------ ------------ |
|_______________________________________|
在短列表视图中的ITEM1应包含3文本和editviews和ITEM2应具有2文本和EditView中。这两项都应该得到不同的意见。
,因为我是新到Android,我能够创建简单的列表视图,但我不知道如何创建各种视图列表视图。
感谢CQM。我会尝试一下,然后来找你。 – Allen 2012-08-08 20:31:55
@Allen也许你会发现这个链接有用http://www.vogella.com/articles/AndroidListView/article.html – luanjot 2012-08-08 20:44:59