work hard work smart

专注于Java后端开发。 不断总结,举一反三。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月25日

摘要: Android中ExpandableList的使用2本文介绍Android中ExpandableList的使用,在前文的基础上作了很多改进,增加了增加、删除、回调等功能。图中的 “第一行班组号: 1 软件工程2班”是要显示的信息。先看效果图:首先定义一个含有ExpandableListView的Layout。还有一个是显示的文本信息。<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com 阅读全文

posted @ 2013-03-25 16:42 work hard work smart 阅读(1200) 评论(0) 推荐(0) 编辑

摘要: Android ExpandableListView的使用一、MainActivity要继承ExpandableListActivity。效果是当单机ListView的子项是显示另一个ListView。public class MainActivity extends ExpandableListActivity { private static final String NAME = "NAME"; private static final String IS_EVEN = "IS_EVEN"; private ExpandableListAdapte 阅读全文

posted @ 2013-03-25 10:40 work hard work smart 阅读(1604) 评论(0) 推荐(0) 编辑