1. Download our Official Android App: Forums for Android!

Apps Reference integer resource in string resource xml

Discussion in 'Android Development' started by mahnel16, Feb 13, 2014.

  1. mahnel16

    mahnel16 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Feb 13, 2014

    Feb 13, 2014
    1
    0
    5
    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
     

    Advertisement

Share This Page

Loading...