版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012153184/article/details/53257009
问题解决方案来自
http://blog.csdn.net/tcpipstack/article/details/51559613
XMl 中 attrs.xml文件需要制定 属性的格式
<declare-styleable name="ListItemLinearLayout">
<attr name="singleLine" />
<attr name="titleSize" format="dimension" />
可以看出singleLine没有对应的format属性,确定singleLine没有在代码中使用之后,将此属性删掉或者给其添加属性 。
重新编译之后,问题解决。