Dynamic Android String Resources
Is it possible to get string resources from a repository (like HashTable, List etc. ) not strings.xml? Desired usage in layouts like
Solution 1:
No. The @resource
syntax only works with XML defined resources. If you want to define your strings in a hashmap, you will need to set the hint/text of your views in code.
Post a Comment for "Dynamic Android String Resources"