Android Animation ---TranslateAnimation
摘要:if(stopBtn.getVisibility()==View.VISIBLE){ Animation animation_stop = new TranslateAnimation( Animation.RELATIVE...
阅读全文
posted @
2015-01-20 14:26
梦想人生
阅读(283)
推荐(0)
Android 源码VecotorDrawable
摘要:1R.styleable.VectorDrawable_viewportWidth该资源的名字并非VectorDrawable_viewportWidth而是 attrs.xml 下的声明 ...
阅读全文
posted @
2015-01-14 11:15
梦想人生
阅读(403)
推荐(0)
正则表达式
摘要:1:应用 grep 不包含 -v, --invert-match the sense of matching, to select non-matching lines. (-v is specified by POSIX.)- v 翻转匹配...
阅读全文
posted @
2015-01-13 15:57
梦想人生
阅读(153)
推荐(0)
linux ubuntu ppa源
摘要:ubuntu10.04添加删除PPA源增加ppa资源以后,今后的版本更新什么的都会从launchpad去下载,在国内访问launchpad速度比乌龟还慢Ubuntu里,PPA代表一种非稳定版本的发布,喜欢尝鲜的人一般会加入很多PPA源。Personal Package Archives,个人软件包档...
阅读全文
posted @
2015-01-12 17:26
梦想人生
阅读(420)
推荐(0)
Android 源码编译 步骤
摘要:添加资源后编译步骤1:lunch 112:mmm frameworks/base/core/res/生成Install: out/target/product/hammerhead/system/framework/framework-res.apk3: mmm frameworks/base生成I...
阅读全文
posted @
2015-01-09 10:26
梦想人生
阅读(388)
推荐(0)
Git 使用
摘要:拷贝一份Git,向更改他的远程仓库,同时保存原来的loggit push --mirror git@git.oschina.net:【名字】/ListViewAnimation.git从刘俊伟拷贝的ListViewAnimation,保存了他的修改,现在远程git是自己的1:在本地创建了Eclips...
阅读全文
posted @
2015-01-09 10:24
梦想人生
阅读(13151)
推荐(2)
linux make clean
摘要:make clean仅仅是清除之前编译的可执行文件及配置文件。而make distclean要清除所有生成的文件。Makefile在符合GNU Makefiel惯例的Makefile中,包含了一些基本的预先定义的操作:make根据Makefile编译源代码,连接,生成目标文件,可执行文件。make ...
阅读全文
posted @
2015-01-07 20:37
梦想人生
阅读(342)
推荐(0)
linux 查找替换
摘要:查找find [路径] 查找文件-name 根据文件名查找文件-iname 根据文件名查找文件,忽略大小写-path 根据路径查找文件-ipath 根据路径查找文件,忽略大小写-amin 过去N分钟内访问过的文件-atime 过去N天内访问过的文件-cmin 过去N分钟内修改过的文件-...
阅读全文
posted @
2015-01-06 16:23
梦想人生
阅读(1046)
推荐(0)