Commit 99eb8db4 authored by pengjunjing's avatar pengjunjing

增加mipmap文件夹的支持

parent 75fe49b2
......@@ -20,8 +20,10 @@ class ParseUtil {
val result = mutableListOf<String>()
for (readLine in readLines) {
//判断该行是否引用了图片资源
if (readLine.contains("@drawable") ||//xml引用
readLine.contains("R.drawable")//java kt代码引用
if (readLine.contains("@drawable") //xml引用
|| readLine.contains("@mipmap")
|| readLine.contains("R.drawable")//java kt代码引用
|| readLine.contains("R.mipmap")
) {
result.add(readLine)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment