InputStream _in_s ;
_in_s = new ByteArrayInputStream(YourXMLString.getBytes(Charset.defaultCharset()));
byte[] b = new byte[_in_s.available()];
_in_s.read(b);
YourTextView.setText(new String(b));
I do not know, why CODE-Wrapping formatter just Tags with HIGH but PHP formatter at least highlights more reader friendly, though for android we develop in java and not php.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.