android中调用inflate时出现的警告错误处理 LayoutInflater.from(this).inflate(R.layout.activity_main, null);void passing null as the view root (needed to resolve layout parameters on the inflated layout's root element) Android 2023-09-21 214 点赞 3 评论 324 浏览