Good evening!
I have a textview
and I take a text from a string
into this View
element.
Take out like this:
MyTextView.setText(Html.fromHtml(getString(R.string.txt_0)))
In string
text is between
<string name="txt_0"><![CDATA[
and
]]></string>
And everything seems to be fine:
<b>, <i>, <u>, <H2>, <br>,  
And other HTML tags work. But, for example, I need to create a bulleted list:
<ul> <li>элемент маркированного списка</li> </ul>
But does not work. Or you need to put a separator line,
<hr>
but nothing again.
<center>
Also does not work. How to find out what works and what doesn't? And how to create a list line separator? This text along with the formatting will be in the SQLite database and pulled out from there.
strike/s
,ul/ol/li
(including nested) andcode
tyk - Yuriy SPb ♦ContextCompat.getColor()
- Yuriy SPb ♦