Note
文章平均质量分 73
imyjack
这个作者很懒,什么都没留下…
展开
-
Loading Views On Demand
有时候,我们的布局中需要显示一个很复杂的视图,但这个视图却很少用到,翻译 2014-10-13 14:39:13 · 274 阅读 · 0 评论 -
Difference between px, dp, dip and sp in Android?
px is one pixel. sp is scale-independent pixels. dip is Density-independent pixels. You would use sp for font sizes dip for everything else. dip==dp From Android Developers转载 2014-10-13 17:46:26 · 327 阅读 · 0 评论 -
Run Android Lint pre-push
Git hook是一些在$GIT_DIR/hooks目录的脚本,在被特定的事件(certain points)触发后被调用. 我们可以在push代码前,调用android lint检查代码,若lint检查结果不符合规范,则中断push操作,强制要求fix Lint Error.原创 2014-10-15 09:58:01 · 506 阅读 · 0 评论