I want to make a link from one line to another, while so that both of them are in string.xml, did that

<string name="hello">Hello</string> <string name="world">World</string> <string-array name="aloha"> <item>@string/hello</item> <item>@string/world</item> </string-array> 

How to call string-array correctly? If in essence the handler asks @string / aloha, since all other values ​​to be processed are simple strings, that is, you must set the obj (String alo) property in the object (R.string.aloha)

I would like something like toString (R.array.aloha)

I had to do it not exactly as I wanted.

 public String Welcome ; public String getString() { String str = "" ; String[] bld = getResources().getStringArray(R.array.aloha); for (int i = 0; i < bld.length; i++) { str = str.concat( bld[i]) ; } Welcome = str; return str; } 

Welcome can then be used again without a call, just like that ...

it works, but this is not the case, because the base class is actually public Static obj (String alo) and you cannot use getResources () in it and now you have to insert the Welcome into the final textView, not the obj.alo property

this is to implement a changelog, not to write the text in one piece, but to add new lines. with translation and without subsequent changes.

    0