天天看点

android——写xml

在PersonService的基础上,加上savePersons(·····),这时的PersonService为:

2、PersonTest

3、Person22.xml

这时生成的person22.xml文件的内容如下(注意,他不会帮我们把xml文件格式化):