上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 35 下一页
摘要: 参考http://blog.csdn.net/liuhe688/article/details/6754323 阅读全文
posted @ 2015-02-13 21:23 chuiyuan 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cnblogs.com/smyhvae/p/4000390.htmlhttp://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2012/1016/441.htmlhttp://blog.csdn.net/xyz_lmn/a... 阅读全文
posted @ 2015-02-13 16:11 chuiyuan 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 使用add()加入fragment时将触发onAttach(),使用attach()不会触发onAttach()使用replace()替换后会将之前的fragment的view从viewtree中删除触发顺序:detach()->onPause()->onStop()->onDestroyView(... 阅读全文
posted @ 2015-02-13 12:15 chuiyuan 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 主要参考 两个http://blog.csdn.net/think_soft/article/details/7272869http://www.cnblogs.com/purediy/p/3276545.html拥有Fragment的Activity的生命周期直接影响了其中的Fragment的生命... 阅读全文
posted @ 2015-02-13 09:50 chuiyuan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 可以重点参考http://www.cnblogs.com/lijunamneg/archive/2013/02/05/2892616.htmlandroid Activity之间的跳转不只是有startActivity(Intent i)的,startActivityForResult(Intent... 阅读全文
posted @ 2015-02-11 11:39 chuiyuan 阅读(160) 评论(0) 推荐(0) 编辑
摘要: // 相对于给定ID控件android:layout_above 将该控件的底部置于给定ID的控件之上;android:layout_below 将该控件的底部置于给定ID的控件之下;android:layout_toLeftOf 将该控件的右边缘与给定ID的控件左边缘对齐;android:layo... 阅读全文
posted @ 2015-02-04 16:35 chuiyuan 阅读(104) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/cr330326/p/4271699.html最好参考http://blog.csdn.net/zhao_3546/article/details/12843477 阅读全文
posted @ 2015-02-04 15:48 chuiyuan 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 参考http://www.cnblogs.com/xiaozhi_5638/p/4244797.html 阅读全文
posted @ 2015-01-27 23:34 chuiyuan 阅读(156) 评论(0) 推荐(0) 编辑
摘要: ViewPagerViewPager如其名所述,是负责翻页的一个 View。准确说是一个ViewGroup,包含多个 View 页,在手指横向滑动屏幕时,其负责对 View 进行切换。为了生成这些 View 页,需要提供一个PagerAdapter来进行和数据绑定以及生成最终的 View 页。set... 阅读全文
posted @ 2015-01-27 00:02 chuiyuan 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/shitouer/archive/2012/12/19/2823641.html 阅读全文
posted @ 2015-01-24 10:57 chuiyuan 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 35 下一页