How do I insert special characters as text in XML editor for Android?
问题 So, I'm writing an app that involves using some mathematical symbols. I'm doing this in the visual XML editor. Is there any way I can get, say, an integral symbol, or a "less than or equal to" symbol? Things like that. Thanks! 回答1: Try put they as HTML. String htmlStringWithMathSymbols = "≤ ≥"; textView.setText(Html.fromHtml(htmlStringWithMathSymbols)); Here you can display your math symbol in textView Here the post http://www.hrupin.com/2011/12/how-to-put-some-special-math-symbols-in