Friday, 27 September 2013

Special elements like mathematical elements in xml android file

This site: click has list of elements which can be used in xml. Just watch the second (column) element. For example:

    square = &#8730

THen you need to conver it. For example:

    String symbol = Html.fromHtml(square);

Alternative link is here: click you can check similar example