- 博客(6)
- 资源 (14)
- 收藏
- 关注
原创 ExpandableLayout 源码分析
https://github.com/AAkira/ExpandableLayout 带阻尼震动的效果,原来使用的是AnticipateInterpolator,差值器。 ExpandableLinearLayout https://github.com/traex/ExpandableLayout animation = new Ani
2017-09-30 10:29:48 342
原创 android-autofittextview自适应字体大小源码分析。
https://github.com/grantland/android-autofittextview。 用法: AutofitTextView android:id="@+id/output_autofit" android:layout_width="match_parent" android:layout_height="wrap_content"
2017-09-28 10:40:53 998
原创 ExpandableTextView源码分析
代码不多,看起来不复杂。https://github.com/Carbs0126/ExpandableTextView getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { @Override public void onGlo
2017-09-27 09:28:31 240
原创 自定义Linearlayout
有一个需求。水平linearlayout,里有一个项目名称,右边紧跟项目属性。有一个问题出来了,当项目名称太长,项目属性会挤掉。 所以当项目名称太长的时候,用省略号表示,项目属性居右。git里边有两种实现方式。推荐自定义Linearlayout。记得点STAR. https://github.com/xiayu98020214/MyLinearlayout
2017-09-21 11:03:26 350
原创 源码分析AisenWeiBo
https://github.com/wangdan/AisenWeiBo 缓存时间: /** * 如果是获取历史数据,则历史数据的时间大于这个时间,将缓存刷新 * * @return */ public static int getRefreshInterval() { if (isDebug())
2017-09-13 17:06:46 250
原创 学习ionic
http://www.jianshu.com/p/3a8d7e23ed79 淘宝镜像 http://blog.csdn.net/metal1/article/details/53790360 npm install -g cordova --registry https://registry.npm.taobao.org npm install -g ionic --r
2017-09-05 19:42:18 231
native service例子
2014-02-24
动态库 堆栈信息
2013-11-21
android widget 计算你还能活多长时间
2013-10-14
android 自定义系统服务 例子
2013-04-26
android 自定义 系统服务例子 patch
2013-04-26
python获取firefox网站视频缓存
2013-04-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人