Skip to content

Instantly share code, notes, and snippets.

@koral--
Created Jan 14, 2018
Embed
What would you like to do?
XML entity in strings.xml
<!DOCTYPE resources [
<!ENTITY foo "Foo">
]>
<resources>
<string name="app_name">&foo;</string>
<string name="busy_warning">Sorry, &foo; is working hard, please try again in a moment.</string>
<string name="trademark">&foo; is a registerd trademark, all rights reserved.</string>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment