In the Android SDK documentation, all of the examples used with the @drawable/my_image xml syntax directly address images that are stored in the res/drawable directory in my
Gradle with Android Studio could do it this way (link).
It's in the paragraph "Configuring the Structure"
sourceSets { main { java { srcDir 'src/java' } resources { srcDir 'src/resources' } } }