While I realize resources themselves are defined in XML files, if I have an XML file of my own type that I wish to use, should I be storing them in "res/xml"?
Is there a better way to do this such as using assets and then loading them as binary to be parsed by another XML library?
I would go with adding the XML resource inside the res
folder with the specific resource type. Its a convention that I have adapted to, having all my files in the same directory for organization.
If you add your XML file inside of res/xml
it can be accessed anytime at run-time via Resources.getXML()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With