• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Reference integer resource in string resource xml

mahnel16

Lurker
Feb 13, 2014
1
0
Hi,

I was wondering whether it is possible to reference an integer resource in a string resource, an example:

<integer name="min_len">3</integer>

<string name="err_msg">Value has to have at least @integer/min_len characters</string>

I haven't found a solution yet, can someone help me?
Regards
mahnel16
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones