0

How to justify text in android textview

Please tell me ,I searched alot but never found any solution

10th Mar 2018, 5:35 AM
Lvraj Sandhi
Lvraj Sandhi - avatar
1 Réponse
+ 1
Justifying TextView is available after Android O (8.0) Kotlin if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { textView.justificationMode = JUSTIFICATION_MODE_INTER_WORD } Java if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { textView.setJustificationMode(JUSTIFICATION_MODE_INTER_WORD); }
11th Jan 2021, 6:11 AM
Samiun Nafis
Samiun Nafis - avatar