
listview
文章平均质量分 86
mlxg
手机app开发
展开
-
自定义view,实现listview效果优化内存
自定义View在开发中经常用得到,可以优化内存自定义效果等,下面实现一个类listview的效果。先在values目录下新建一个attrs.xml的资源文件 写出自定义view的xml文件<RelativeLayout xmlns:android="http://schemas.android.com/a原创 2015-07-25 09:42:31 · 388 阅读 · 0 评论 -
动态添加和删除ListView
这是Activity的XML<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertic原创 2015-07-20 16:36:40 · 1102 阅读 · 0 评论