摘要:
项目中用LayoutInflater加载xml布局一直飘黄警告,上网搜了搜发现没有解释明白的,到是找到了一篇外国的博文,但是竟然是英文。。。幸好以前上学时候的英语不是很差加上谷歌的辅助,简单翻一下! 原文地址:http://www.cnblogs.com/kobe8/p/3859708.html 参考博客:http://blog.csdn.net/ccfcccfc/article/details/... 阅读全文
摘要:
getHeight()和getWidth() deprecated in API level 13Display dp=getWindowManager().getDefaultDisplay(); int height=dp.getHeight(); int width=dp.getWidth(); 123123官方文档instead methodDisplay display = getWi... 阅读全文