android - What is the the double quotation marks in strings.xml used for? -
just little while ago, looking around on github, , found there double quotation marks beside string value in strings.xml this:
<string name="clipmmi" msgid="6952821216480289285">"来电显示"</string>
in short mean
"来电显示"
for full example please click here.
i don't know "" used for? because if remove "" beside string value (e.g. "来电显示" change 来电显示), output won't change more, both "来电显示" , 来电显示 print 来电显示 output.
so quotations make sense here?
it makes sense on languages using simple quotes '
.
if simple quotes aren't escaped this, \'
, lint detect error.
using double quotes @ start , @ end of string value allow omit these backslashes.
there may other purposes didn't discovered yet.
Comments
Post a Comment