lundi 26 avril 2021

how I can disable the error icon near CheckBox when it checked

Tell me please how I can disable the error icon near CheckBox when it checked in Android Studio? Here is my code:

  if(!checkbox1.isChecked()){
            checkbox1.requestFocus();
            checkbox1.setError("This field isn't checked");
            return false;
          }



Aucun commentaire:

Enregistrer un commentaire