fix(android): version Android text-align justify (#9620)

This commit is contained in:
Juan de Dios Martínez Vallejo
2021-10-20 09:24:53 -07:00
committed by GitHub
parent 8878c3bc6b
commit 2ad280deb0
+1 -1
View File
@@ -296,7 +296,7 @@ export class TextBase extends TextBaseCommon {
this.nativeTextViewProtected.setGravity(android.view.Gravity.START | verticalGravity);
break;
}
if (android.os.Build.VERSION.SDK_INT >= 25) {
if (android.os.Build.VERSION.SDK_INT >= 26) {
if (value === 'justify') {
this.nativeTextViewProtected.setJustificationMode(android.text.Layout.JUSTIFICATION_MODE_INTER_WORD);
} else {