Android: integer from xml resource
Yes it is possible, it would look like this: Create an xml resources file in the folder /res/values/ called integers.xml. You are free to give it any name as you want, but choose one that is obvious. In that resources file, create your integer values. Your file then looks something like that: <?xml version=”1.0″ encoding=”utf-8″?> … Read more