Android xml Text attribute textview cannot accept value "<" as value
5 answers
You need to avoid text, xml has specifics regarding escape text, check this link https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML
So in your case, replace "<"
with"<"
" " & & ' ' < < > >
+3
source share