摘要: 快捷方式1.Eclipse配置导出File--Export--General--Preferences--选择导出的内容及导出目录--Finish 导入File--Import--General--Preferences--选择导入的内容及导出目录--Finish2.显示行号:Windows--Preference--General--Editors--Text Editors--show line numbers3.更强大的代码提示:Windows--Preference--Java--Editor--Content Assist--Auto actvation trigger ... 阅读全文
posted @ 2013-12-25 23:13 Eudora_Do 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1.instanceof:检测对象类型备注:xx instanceof yy:检测实例xx是否为yy类型LinearLayout layoutRoot = (LinearLayout)this.getLayoutInflater().inflate(R.layout.layout_instanceof, null);//将xml文件实例化为类int childCount = layoutRoot.getChildCount();//得到布局文件下控件的数量View childView = layoutRoot.getChildAt(i);//得到控件Toast.makeText(Instanc 阅读全文
posted @ 2013-12-25 14:35 Eudora_Do 阅读(227) 评论(0) 推荐(0) 编辑