title: Best way to distribute Android Library
body: <p>What is the best way to distribute android Library. I dont want the user to see my code, library has images and layout xml. Here is my  understanding. Please correct if I am wrong.</p>
  
  <ul>
  <li>If I make Jar then I cannot add res folder as part of my jar. (I know using progurad is an option to obfuscate code.)</li>
  <li>If I publish aar I have to make my repo public?</li>
  </ul>
  
  <p>So my question is that how can I distribute my library to user without giving access to my code while adding images and layout files as part of that library.</p>