compile xml layout files and use them
Is it possible to manually pre-compile a layout file, put it in a jar and use it? if possible how ?
I'll explain: When using a apk packaging, the build process pre compile xml resources, for runtime optimization. Let's say, for example, I want to load xml files from a server, and load them to ui. I need to pre-compile them, and I prefer doing it on server side with the android sdk.
try this:
上一篇: 序列化前缀树
下一篇: 编译xml布局文件并使用它们