摘要: 代码如下:实现购物车类似的功能,分为两个class,两个xml: activity_main.xml: MainActivity.class主页面,重要代码存在处: 需要定义一个vo类,泳衣存放boolean类型的值,判断是否选中: 加下来事适配器: 适配器的xml: 删除功能: 阅读全文
posted @ 2016-04-13 12:18 151 阅读(267) 评论(0) 推荐(0) 编辑
摘要: xml: MainActivity.class 阅读全文
posted @ 2016-04-12 16:17 151 阅读(135) 评论(0) 推荐(0) 编辑
摘要: dot_layout.xml: xml: homeactiviyt: 最里面的类: 第二个类: 第三个类: 第四个类: 阅读全文
posted @ 2016-04-12 14:27 151 阅读(514) 评论(0) 推荐(0) 编辑
摘要: three.xml: ThreeActivity.class: 阅读全文
posted @ 2016-04-11 19:55 151 阅读(598) 评论(0) 推荐(0) 编辑
摘要: activity_main: MainActivity.class: attrs.xml: 阅读全文
posted @ 2016-04-11 14:46 151 阅读(122) 评论(0) 推荐(0) 编辑
摘要: activity_main.xml: MainActivity.class: 阅读全文
posted @ 2016-04-11 12:23 151 阅读(237) 评论(0) 推荐(0) 编辑
摘要: MainActivity: 布局: menu文件:activity_main: 阅读全文
posted @ 2016-04-09 10:57 151 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 代码: xml页面: MainActivity: 效果图: 阅读全文
posted @ 2016-04-08 20:41 151 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 主页面MainActivity 效果图如下:圆随着鼠标二移动 阅读全文
posted @ 2016-04-08 20:36 151 阅读(136) 评论(0) 推荐(0) 编辑