Hardcoding Strings in Eclipse

haxen

New Member
While working on an app, I noticed that whenever I don't use "@string/"...\[quote\] android:text="@string/stringName"\[/quote\]and just write\[quote\] android:text="stringName"\[/quote\]Eclipse want's me to add back "@string/". Why is that? What's wrong with hardcoding the string?
 
Back
Top