Actually, I’ll myself think of the current to such an option: In the XML file (for example, in /res/values/string.xml) I create a string resource, for example <string name="URL_ADDRESS">https://www.google.ru</string> And then in the code, as needed, they are extracted
String URL_ADDRESS; ....................... public void onCreate() { super.onCreate(); URL_ADDRESS = getResources().getString(R.string.URL_ADDRESS); But if in the appendix of such links it’s permissible 20-30, will it be correct and is it right to do that at all?