2

I see above API 26 there is a method for justify textviews.

android:justificationMode="inter_word"

Is there a solution for lower API levels?

Thanks.

frankish
  • 6,738
  • 9
  • 49
  • 100
Péter Kovács
  • 184
  • 1
  • 1
  • 17
  • Possible duplicate of [Android TextView Justify Text](https://stackoverflow.com/questions/1292575/android-textview-justify-text) – ADM May 10 '18 at 13:24
  • 2
    It is neither duplicate nor it needs to be more focused. I think this is a valid and proper question. – frankish Apr 10 '20 at 09:24

1 Answers1

3

You will need a library for this. I do not see a way to do it without. The support-library got some support for justification recently. Not sure about inter_word though. There are also 3rd party libs like https://github.com/programingjd/justified

ligi
  • 39,001
  • 44
  • 144
  • 244