摘要:
在做一个应用时把Android SDK从4.4换成6.0,使用LayoutInflater的inflate方法时出现以下情LayoutInflater.inflate(int resource, ViewGroup root)参数root为null时,出现warning提示Avoid passing null as the view root (needed to resolve layout p... 阅读全文
摘要:
下午摆弄ProgressDialog,进入就抛错:android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application,让我百思不得其解。我这使用这种方法实现的进度对话框:proDialog = ProgressDialog.show(ge... 阅读全文