android include tag - invalid layout reference

后端 未结 8 601
遥遥无期
遥遥无期 2020-12-05 06:21

I\'m having a problem including a different layout through the include tag in the android layout xml file. When specifing the layout reference ( @layout/... ), i\'m getting

8条回答
  •  时光说笑
    2020-12-05 07:05

    I've "solved" the problem, but I dont know what really helped. My layout files did not went through any major rewrite and practically contain the same. The only notable change I've done before the problem went away was to override the onMeasure( int, int ) method in my custom view class, with the implementation just calling setMeasuredDimension( 100, 100 ).

提交回复
热议问题