How to get a resource id with a known resource name? May 31, 2022 by IT Nursery I want to access a resource like a String or a Drawable by its name and not its int id. Which method would I use for this? 10 Answers 10