重载RelativeLayout报android.view.InflateException: Binary XML file line 异常
{
super(context,paramAttributeSet);
}
添加构造函数后异常消失:
{
super(context,paramAttributeSet);
}
解决RelativeLayout加载异常
本文介绍了解决在使用RelativeLayout时遇到的android.view.InflateException异常的方法。通过添加构造函数,可以有效避免这一问题。
1626

被折叠的 条评论
为什么被折叠?



