I developing an android project for my university. My layout folder is too big, and i decide to create sub folder in my layout folder.
I read this answer and question but this is not work for me.
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "example.google.com.widgetforlockscreen"
minSdkVersion 8
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
sourceSets {
main {
res.srcDirs =
[
'src/main/res/layouts/layouts_category2',
'src/main/res/layouts',
'src/main/res'
]
}
}
}
but nothing create for me.