摘要: 换行字数Window-Preferences-Java-Code Style-Formatter-Edit-Line Wrapping-General settings-Maximum line width:100删除空行1.打开源码编辑器2.使用快捷键Ctrl+f3.在Find输入框中输入:^\s*\n4.Replace With输入框的值为空5.在【Options】选中的"Regular expressions"6.点击【Replace All】按钮自动完成1. window→Preferences→java→Editor→Content Assist→Auto Act 阅读全文
posted @ 2012-05-28 22:08 一篮饭特稀 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1.模拟器横竖屏切换快捷键Ctrl+F112.写法: android:id="@+id/button1"android:text="@+text/Button"3.如果在运行Intent intent=new Intent(GPSActivity.this, ColorActivity.class); startActivity(intent);过程中报错,很可能是因为Mainfest.xml文件中未添加ColorActivity.xml文件为Activity 阅读全文
posted @ 2012-05-28 16:39 一篮饭特稀 阅读(107) 评论(0) 推荐(0) 编辑