How to make an infinity sign on Android

We can make insert Infinity symbol on android using two ways. One with programmatically using DecimalFormatSymbols class and other with string resource in xml code.

Here is xml and Kotlin code to make infinity symbol. 

activity_main.xml

MainActivity.kt

Note:- (DecimalFormatSymbols which will not work some custom fonts.)

Leave a Comment

Your email address will not be published. Required fields are marked *