Genevieve
Genevieve

Reputation: 975

Eclipse Will Not Recognize Quotation Marks?

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 the "@" sign. What can I do to fix this?

Upvotes: 1

Views: 196

Answers (1)

Cristian
Cristian

Reputation: 200140

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.)

Upvotes: 4

Related Questions