开发者

Eclipse Will Not Recognize Quotation Marks?

开发者 https://www.devze.com 2023-01-08 09:01 出处:网络
This was my code: <android:id=\"@+id/carrotsmileanim></android:id> I fixed it because it was missing a quotation mark, but now eclipse won\'t recognize the quotations nor t开发者_JAVA技

This was my code:

<android:id="@+id/carrotsmileanim></android:id>

I fixed it because it was missing a quotation mark, but now eclipse won't recognize the quotations nor t开发者_JAVA技巧he "@" sign. What can I do to fix this?


What are you trying to do? That's not the way you declare IDs... this is how it works:

<Element android:id="@+id/carrotsmileanim">  </Element>

Notice that Element is usually a View (TextView, Button, etc.)

0

精彩评论

暂无评论...
验证码 换一张
取 消