Add layout source code analysis,need to optimize