'String resource for href in string resource
I have string resource with href like this:
<string name="name">Some text <a href="http://SUBDOMAIN.domain.com/">Click here</a>. (SUBDOMAIN here is placeholder to show case)
I generated in SUBDOMAIN with product flavors:
productFlavors {
dev {
resValue "string", "sub_domain", "test."
}
...
}
I have it in gradleResValues:<string name="sub_domain" translatable="false">test.</string>
I can not figure out how to use this sub_domain in my resource with href
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
