android开发
文章平均质量分 78
stonezheng
这个作者很懒,什么都没留下…
展开
-
ListView 的使用
ListView是Android中的基本控件,学会使用它非常重要。下面详细描述一下它的使用方法: (1)生成动态数组,加入数据 使用 ArrayList 和 HashMap 数据结构作为要动态数据。 例如: ArrayList> list = new ArrayList>(); HashMap map = new HashMap();原创 2011-11-01 15:44:58 · 182 阅读 · 0 评论 -
Android ExpandableListView样式定制
最经搞Android的项目,需要使用ExpandableListView,需要使用XML定制每个选项的样式。具体步骤如下: (1) 先用XML 定义 ExpandableListView android:id="@+id/widget30" android:layout_width="317px"原创 2011-11-01 15:46:04 · 538 阅读 · 0 评论