Use string format arguments in Android layout xml file [duplicate]

No, there is no means of applying a value to the format from a layout file — only in Java. Sorry!

UPDATE: You can now use data binding for this — see the duplicate question.

Leave a Comment