obey android project structure when searching for ui xmls
- search for android layout xmls in ProjectRoot/res/layout/ when using IDEPathProvider
This commit is contained in:
committed by
Yan Zhulanow
parent
2c44f5c4b7
commit
d5565db488
@@ -7,6 +7,6 @@ import java.io.File
|
||||
class IDEAndroidUIXmlPathProvider(val project: Project): AndroidUIXmlPathProvider {
|
||||
|
||||
override fun getPaths(): MutableCollection<File> {
|
||||
return arrayListOf(File("/tmp/android/"))
|
||||
return arrayListOf(File(project.getBasePath() + "/res/layout/"))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user