@string file name or element tag name


Hi there,
When i reference a string resource @string/…
What is the string… file string.xml or tag string?


as you say, the resource. the string.xml is a way to create static constants in one place.You should read this page.

so, R.java files creates an object with resource ids for all of the reources your application uses.This includes drawables,layouts,strings,arrays etc.


So the @string is the resource. Thank you Sir.
One more question… where is Toast.java? I cannot find in the book.


Find already… it is built in.