Good day! Tell me, please, is there an attribute in the SDK that aligns the text right and left at the same time, so that it occupies all the allocated space?

This is what I mean. enter image description here

And so far I have.

enter image description here

    1 answer 1

    Android does not support justification. Take advantage of third-party libraries.

    https://github.com/ufo22940268/android-justifiedtextview

    https://github.com/navabi/JustifiedTextView

    https://github.com/programingjd/justified

    etc.

    PS You can use WebView as an alternative.