I would like to know whether there is a way to insert/inject a element defined in an XML file into another element, d
Yes it is possible, I've created this small library that allows you to resolve these placeholders at buildtime, so you won't have to add any Java/Kotlin code to make it work.
Based on your example, you'd have to set up your string like this:
Author: ${author}
And then the plugin will take care of creating the following:
Author: Francesco
More info here: https://github.com/LikeTheSalad/android-string-reference