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!
Use < for <, > for > and & for &.
or
< less than <
> greater than >
& ampersand &
¢ cent ¢
£ pound £
¥ yen ¥
€ euro €
§ section §
© copyright ©
® registered trademark ®
™ trademark ™
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-textview-editview-or-other-android-ui-element
Hope, it help you!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With