【问题标题】:ListView With three fieldsListView 具有三个字段
【发布时间】:2011-06-07 09:32:06
【问题描述】:

我正在尝试制作一个金融应用程序,我想在列表视图行中放置一张图片、带有描述的文本以及帐户中的钱。我该怎么做?

【问题讨论】:

    标签: android xml eclipse listview


    【解决方案1】:

    您可以使用CustomAdapter 作为BaseAdapterArrayAdapter 的子类。 膨胀您的自定义row.xml(这将是您的单行布局),然后将adapter 设置为ListView。 这是good tutorial

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-01
      • 1970-01-01
      • 2015-02-21
      • 2012-12-09
      相关资源
      最近更新 更多