title: Regarding Images and folders
body: <p>I am building a small android app where there will be three buttons depicting individual functionality and set of images associated to these functions respectively. </p>
  
  <p>When I receive these images, depending upon their functionality I will be pasting in either folder a or folder b and folder c. </p>
  
  <p>As soon as the button is clicked, the onClick method in setOnClickListener class will point to the respective folder and browse through the images through the seek bar. </p>
  
  <p>For example, 
  if button A is clicked, it will point to the folder A. A seek bar will be used to browse through the images in folder A
  if button B is clicked, it will point to the folder B. The same seek bar will be used to browse through the images in folder B
  if button C is clicked, it will point to the folder C. The same seek bar will be used to browse through the images in folder C</p>
  
  <p>Problem I have is I am not able to create folders under drawable. Even though creating of folders allowed, programmatically I am not able to connect to these folders and these are not visible.</p>
  
  <p>I tried to create folders under app in build.gradle for module app as below</p>
  
  <pre><code>sourceSets {
          main.res.srcDirs = ['src/main/res', 'src/main/resa', 'src/main/resa/opta', 'src/main/resa/optb', 'src/main/resa/optc']
  }
  </code></pre>
  
  <p>The above is not working. What I need is a place where I can create three folders and past the images and programmatically point to these folders.</p>
  
  <p>Please can someone advise? I am using android studio. Java programming language</p>