摘要: 其实这种布局是一个组件,主要是为了,将原件打包成一个子视图。比如,可以放入到SCROLLVIEW中进行一个CHILD ONE去除标题栏title其实非常简单,他有两种方法,一种是在代码中添加,另一种是在AndroidManifest.xml中添加:1、在代码中实现:在此方法setContentView(R.layout.main)之前加入:requestWindowFeature(Window.FEATURE_NO_TITLE);标题栏就没有了。2、在AndroidManifest.xml中实现:注册Activity时加上如下的一句配置就可以实现。<activityandroid:nam 阅读全文
posted @ 2012-06-29 11:50 Epirus 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 在做ANDROID的时候发现的一个类Public final class R{ public static final class attr{ public static final int button=0x46464 }}1.final 类是不能被 继承的2、而且类内的静态变量是可以被外部访问http://java.chinaitlab.com/base/724785.html 这边有详细解答android中RES\VALUE\STRING.XML 中加入的<STRING NAME="FOO">OK</STRING>会在GEN\R.JAVA\ST 阅读全文
posted @ 2012-06-27 21:55 Epirus 阅读(628) 评论(0) 推荐(0) 编辑
摘要: set the ~/.vimrc filemy first configuration:set autoindentset cindentset ts=4 at the same set tabstop=4set shiftwidth=4 阅读全文
posted @ 2012-06-15 17:56 Epirus 阅读(130) 评论(0) 推荐(0) 编辑
摘要: w3m -no-cookie www.baidu.com forbit using cookiec+s--------> search word in the page forward?----------->search word in backward 阅读全文
posted @ 2012-06-15 16:35 Epirus 阅读(147) 评论(0) 推荐(0) 编辑
摘要: testfunc2 (){ echo "$# parameters"; echo Using '$*'; for p in $*; do echo "[$p]"; done; echo Using '"$*"'; for p in "$*"; do echo "[$p]"; done; echo Using '$@'; for p in $@; do echo "[$p]"; done; echo Using '&quo 阅读全文
posted @ 2012-06-15 16:28 Epirus 阅读(179) 评论(0) 推荐(0) 编辑