android include tag - invalid layout reference

后端 未结 8 603
遥遥无期
遥遥无期 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 07:16

    I think i should mention how i solved the same problem. Tried cleaning the project and didn't work. I have quite large names for the layout (chrono_first_small_field), and that wasn't the cause either.

    Closed Eclipse, and just opened it again, and that worked.

    That makes more sense than having to implement the onMeasure method :-)

提交回复
热议问题