ce que j'ai essayé et rien ne fonctionne regardé partout mais rien trouvéComment supprimer la ligne sous-jacente lors de l'édition mot spécifique en édition texte Voir
str.setTypeface(notoKyfiBold);
str.setText("دوس هنا للكتابه");
str.setTextColor(Color.BLACK);
str.setGravity(Gravity.CENTER);
str.setFocusable(false);
str.setFocusableInTouchMode(false);
str.setCursorVisible(false);
str.setClickable(false);
str.setMaxLines(15);
str.setEnabled(false);
str.setActivated(false);
str.setSingleLine(false);
str.setMaxTextSize(50);
str.setKeyListener(null);
str.setMinTextSize(0);
str.setHintTextColor(Color.TRANSPARENT);
str.setBackground(null);
str.setBackgroundColor(Color.TRANSPARENT);
str.setSizeToFit(true);
str.setPadding(10,0,10,0);
str.endBatchEdit();
str.setDrawingCacheBackgroundColor(Color.TRANSPARENT);
str.getPaint().setStrokeWidth(4);
str.setHighlightColor(Color.TRANSPARENT);
str.getPaint().setStyle(Paint.Style.STROKE);
la ligne est celle directement en dessous du texte, pas que la bordure inférieure :
merci! J'ai cherché cela pendant 5 heures et c'est en fait simple et logique –