Android xml error: “No resource found that matches the given name” with RelativeLayout (@id/LinearLayout_acc, @id/ProgressBar_statusScreen)

前端 未结 4 1714
自闭症患者
自闭症患者 2020-12-05 01:49

Okay, so this is starting to really annoy me. This error pops up in a very special, not very logical way.

Let me start out by saying that I have already looked at th

4条回答
  •  日久生厌
    2020-12-05 02:00

    Change every id @id to @+id, no matter when it's defining or referencing an id. With this, you won't get

    Android xml error: “No resource found that matches the given name” with RelativeLayout (@id/LinearLayout_acc, @id/ProgressBar_statusScreen).

提交回复
热议问题