摘要:
Android View坐标Left, Right, Top, Bottom 1.分析说明Left, Right, Top, BottomView中对于该字段说明如下,相对父布局的的位置 相对父布局的左边位置 Left 相对父布局的右边位置 Right 相对父布局的左上边位置 Top 相对父布... 阅读全文
摘要:
http://www.apkbus.com/forum.php?mod=viewthread&tid=244016&page=1&extra=#pid3537851 阅读全文
摘要:
2013年谷歌i/o大会上介绍了两个新的layout: SlidingPaneLayout和DrawerLayout,现在这俩个类被广泛的运用, 其实研究他们的源码你会发现这两个类都运用了ViewDragHelper来处理拖动。ViewDragHelper是framework中非常有用的一个工具。V... 阅读全文
摘要:
package com.example.canvasdemo;import android.annotation.SuppressLint;import android.content.Context;import android.graphics.Canvas;import android.gra... 阅读全文
摘要:
Git 命令 1,git init初始化当前文件夹为git仓库的根目录2.git commit提交到本地仓库3.git push origin master 提交到服务器4.git log 查看提交log5.git reset --hard HEAD^ 或 git reset --hard com... 阅读全文
摘要:
1 package com.example.canvasdemo; 2 3 import android.content.Context; 4 import android.graphics.Canvas; 5 import android.graphics.Color; 6 imp... 阅读全文
摘要:
package com.example.canvasdemo;import java.security.InvalidAlgorithmParameterException;import android.animation.ObjectAnimator;import android.animatio... 阅读全文
摘要:
0000-00001000-00001111-11111*2^7=1281*2^6=641*2^5=321*2^4=161*2^3=81*2^2=41*2^1=21*2^0=10000-00100000-00000000-00011111-11100000-00101111-11100000-000... 阅读全文