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
create a folder in main. like: 'res_notification_btn'
and create tree folder in. like 'drawable' or 'layout'
then in 'build.gradle' add this
sourceSets { main { res { srcDirs = ['src/main/res_notification_btn', 'src/main/res'] or srcDir 'src/main/res_notification_btn' } } }