Can anybody enlighten me why value/strings.xml
is useful(important)?
It occurred to me that all the attributes
, e.g., id, label can be set in the layout xml as well. So why strings.xml
?
A side question is, once get an ID of an object, say a listitem
, how do I get the android:text from it?
I did not find any getText()
function.