Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to have more than one string resource file in Android?

Tags:

I have my primary string resource file for android, and it is quite full (with no end in sight). So, I was hoping to do some house cleaning and move some string into their own resource file. Is this possible?

I know that one can have something like string-en or string-de, but is it possible to maybe have a resource file such as string-errors?

like image 820
ahodder Avatar asked Sep 23 '11 15:09

ahodder


1 Answers

Apparently so. I just took a small app of mine, created a new XML file, values/labels.xml, and moved some of my string resources from values/strings.xml into it. I made no other changes to the app; it still worked fine.

like image 56
David Conrad Avatar answered Nov 22 '22 01:11

David Conrad