title: How to link database record with drawable id?
body: <p>In my android application I have categories that stored in categories table of database. And I want to assign icons for each category. <br />Category table looks like:<br/>
  <img src="https://i.stack.imgur.com/EzN3y.png" alt="categories table">
  <br/>The problem is that I am not able to use drawable constants that defined in R file because they are not static and will be changed from build to build. 
  <br /><br /><strong>Is it correct to create public.xml file and define all drawable constants inside the file?</strong>
  <br /> I am afraid that I can override some android constants using this approach. </p>