Can l add same sting to string in resources like it's?
<string name="text_base">Same text</string>
<string name="text_base_my_text">@string/text_base + and new text</string>
Can l get string in text_base_my_text "Same text and new text"?
Can l add same sting to string in resources like it's?
<string name="text_base">Same text</string>
<string name="text_base_my_text">@string/text_base + and new text</string>
Can l get string in text_base_my_text "Same text and new text"?
yes you can <string name="Hor">@string/Cli</string> <string name="Cli">HOLA</string>
in string.xml
and you can see "HOLA" when you refer @string/Hor
if you a literal inside android understand that all is a literal. i mean:
<string name="text_base">Same</string>
<string name="other">@string/text_base + new text </string>
you will see @string/text_base + new text
when you refer to @string/other
but if you put:
<string name="text_base">Same</string>
<string name="other">@string/text_base</string>
when you refer to @string/other
you will see Same