04 2013 档案

摘要:说明遇到了非法字符,原因在于xml放在了res/xml下,导致xml文件被sdk编码,解决办法就是将xml放在res/raw下,这样就能完整地保持原来的xml。 阅读全文
posted @ 2013-04-16 20:30 子衿鄭風 阅读(688) 评论(0) 推荐(0)
摘要:只要在onCreate中加入如下代码即可,这里使用了反射: try { ViewConfiguration config = ViewConfiguration.get(this); Field menuKeyField = ViewConfiguration.class.getDeclaredField("sHasPermanentMenuKey"); if(menuKeyField != null) { menuKeyField.setAccess... 阅读全文
posted @ 2013-04-03 12:22 子衿鄭風 阅读(236) 评论(0) 推荐(0)