摘要: 效果: 阅读全文
posted @ 2016-03-22 19:04 BBGL_Z 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 参考了以下源码:https://github.com/baoyongzhang/SwipeMenuListView 实现的效果(顺便推荐一个视频转gif的网址:http://www.gif5.net/) 首先抛出几个问题: 1.如何根据我们的手势判定要左滑的position 2.滑动到什么程度让左滑 阅读全文
posted @ 2016-03-22 12:45 BBGL_Z 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: 结论 情况二, 结果 结论 情况三, 结果 结论 情况四, 研究onInterceptTouchEvent 结果 结论 情况五, 结果 结论 阅读全文
posted @ 2016-03-18 15:39 BBGL_Z 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 地址:http://blog.csdn.net/tianjian4592/article/category/2873607 阅读全文
posted @ 2016-03-07 15:41 BBGL_Z 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 例子: 效果,github有shimmer的开源库,https://github.com/RomainPiel/Shimmer-android 代码:自己简单实现的一个闪亮效果的button 阅读全文
posted @ 2016-03-02 11:09 BBGL_Z 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 请参见:http://ndquangr.blogspot.jp/2013/04/android-view-lifecycle.html Category MethodsDescription Creation Constructors There is a form of the construct 阅读全文
posted @ 2016-02-24 15:10 BBGL_Z 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Random类 (java.util) Random类中实现的随机算法是伪随机,也就是有规则的随机。在进行随机时,随机算法的起源数字称为种子数(seed),在种子数的基础上进行一定的变换,从而产生需要的随机数字。 相同种子数的Random对象,相同次数生成的随机数字是完全相同的。也就是说,两个种子数 阅读全文
posted @ 2016-02-23 14:46 BBGL_Z 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 安装32位扩展库:sudo apt-get install lib32z1 lib32z1-dev lib32stdc++6 阅读全文
posted @ 2015-11-08 18:15 BBGL_Z 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/jiangwei0910410003/article/details/17006087Android中在values中定义一个attrs.xml,然后自己定义一个组件MyViewattrs.xml内容如下:[html]view plaincopy定义的... 阅读全文
posted @ 2015-10-19 18:38 BBGL_Z 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/jdsjlzx/article/details/45042081感觉博主写的超级好! 阅读全文
posted @ 2015-10-13 18:36 BBGL_Z 阅读(107) 评论(0) 推荐(0) 编辑