How to justify text in TextView like Kindle (Android)
Question
I'm looking for a way to justify text like Kindle app does on Android. I've read that Android doesen't support full justification but, if it is so, how Kindle does implement it? Thank you in advance.
Solution
I've read that Android doesen't support full justification
If you read more closely, you would have noticed that the discussion of full justification tends to be centered around TextView
.
how Kindle does implement it?
Not by TextView
. They either are using WebView
or their own content rendering engine. AFAIK, WebView
supports CSS text-align
and text-justify
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow