Quelqu'un peut-il me dire comment utiliser la fonction setError de manière appropriée pour CheckBoxes et RadioButtons. Je suis capable d'élever le symbole d'icône d'erreur (!) Après mon textView mais ne peux pas voir le message d'erreur. Selon la documentation Android: sets the right-hand compound drawable of the TextView to the "error" icon and sets an error message that will be displayed in a popup when the TextView has focus. The icon and error message will be reset to null when any key events cause changes to the TextView's text. If the error is null, the error message and icon will be cleared.
Pouvez-vous quelqu'un donner un exemple de la bonne exécution de SetError en cas de case à cocher AAND radioButton?
Voici mon code -Set Error Android
CheckBox box=(CheckBox)findViewById(R.id.propertyStatus1);
box.setError("Error");
votre question ne sait pas – Snicolas
SetError message n'est pas visible en cas de case à cocher et radioButton. –