is it possible to add in TextView? Has anyone achieved similar functionality?
I want to have non-breakable space in TextView.
This worked for me:
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) { textview.setText(Html.fromHtml(your string, Html.FROM_HTML_MODE_LEGACY)); } else { textview.setText(Html.fromHtml(your string); }