我为我的大学开发了一个android项目.我的布局文件夹太大了,我决定在布局文件夹中创建子文件夹.
我读了这个答案和问题,但这不适合我.
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'
]
}
}
}
Run Code Online (Sandbox Code Playgroud)
但没有什么能为我创造.