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.
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.