jeudi 5 mars 2015

Generate random colour onclick [Android Studio]

Im trying to set a random colour in app with AndroidStudio, this is my code:



} else if (check.equals("random")) {
display.setTextColor(Color.rgb(184, 134, 011));


How I can do when the user click set random colour? Now is showing 184, 134, 011


thanks!





Aucun commentaire:

Enregistrer un commentaire