自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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例子

smack.tar 是一个native server 的例子 native_service.tar 是一个apk,验证native server。 http://blog.csdn.net/xiayu98020214/article/details/8895567

2014-02-24

anndroid 动态库 堆栈信息

android 动态库 堆栈信息解析工具

2013-11-23

动态库 堆栈信息

android so 中的堆栈可以打出来,但是看不见符号名称,注意要用有符号的so。例如 D/ ( 1104): #00 pc 00020166 /system/lib/libhwui.so (deleted) D/ ( 1104): #01 pc 00016586 /system/lib/libhwui.so (deleted) D/ ( 1104): #02 pc 00013e46 /system/lib/libhwui.so (deleted) 使用本工具可以看到名称。 python analyze_stack.py log 1:使用前修改 ANDROID_PRODUCT_NAME 2: 在源码目录中,执行。

2013-11-21

android widget 计算你还能活多长时间

参照源码中media widget,写的,用到了widget broadcastreceiver startd server SharedPreferences

2013-10-14

android widget

android widget 小应用。用到了intent ,broadcastreceiver,日期控件。

2013-10-10

surfaceflinger dump

surfaceflinger dump的调用过程。在linux下,用dia画的图。

2013-06-15

android 自定义系统服务 例子

http://blog.csdn.net/xiayu98020214/article/details/8850430,是配合博客的android4.04patch ,还有添加的文件,还有测试apk

2013-04-26

android 自定义 系统服务例子 patch

http://blog.csdn.net/xiayu98020214/article/details/8850430,我的博客的patch,不包括添加的文件,只是修改的patch

2013-04-26

自定义打log,方便取消log

自定义打log(printf),方便取消log.

2013-04-25

python获取firefox网站视频缓存

在fedore环境下,获取firefox的sohu视频缓存。用法:要先清理Cache.其他的看源码就很清楚了。导出数据放在/tmp/friend/下,按数字取名。

2013-04-25

vba编写的cad批量打印成pdf

自己编的vba程序,可以批量打印成pdf。有源码

2013-04-24

包外调用本地服务

和我的包内调用本地服务是一起的。这个包中会调用包外的本地服务。

2013-04-24

android 本地服务 例子

android 包内调用本地服务。外加activity生命周期,打的log。

2013-04-24

android 本地服务 代码例子

android 本地服务(local service)使用intent启动服务。外加activity的生命周期的log

2013-04-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除