lundi 8 février 2021

How to write an if statement to verify if a button image background is set to a specific image in Android Studio

I thought this would be right but it won't work:

 if (buttonPlay.getBackground(R.drawable.pause) == true){

}

Aucun commentaire:

Enregistrer un commentaire