ViewStub must have a valid layoutResource

本来xml里面是include 一个xml, 后面改成ViewSub的形式。

include是: 

</>


ViewSub是:

<>

==

两者在引入布局上的区别是:include是: layout="@layout/xx", viewsub是: android:layout="@layout/xx",多了android:

你可能感兴趣的:(ViewStub must have a valid layoutResource)