2014年1月2日星期四

Android want to add a node XML file

I use code to create an XML file. Now I lost as a word in EditText then click button to add my input XML file inside this character to go .
------ Solution ---------------------------------------- ----
re-create a new XML is the easiest ,
------ eference --------------------- ------------------
this is very easy , ah, you look LayoutInflater the inflate method overload , you can pass XmlPullParser go .
there are two solutions: 1 , read out the original layout , modify the generated XmlPullParser
2. rewrite a layout with XmlPullParser read , and then returns come in.
nothing technically difficult, just to spend some time
------ eference -------------------------- -------------
  The reply was deleted administrator at 2013-12-31 13:03:09

------ eference ------------------------------------ ---


is the previous XML data read out and then finally add data to generate an XML file ?
------ eference --------------------------------------- < br> right, this approach is the easiest .
------ eference --------------------------------------- < br> Thank you, I have written out.

没有评论:

发表评论