samedi 31 mars 2018

Set random color on TextView field inside ListView

So basically, this is my simple_adapter_view, which i import to the listView. I have TextView(letter),TextView(name&surname) and ImageView(send image) I have 5 contacts in my list, and i need to change BackgroundColor of the TextView(letter) only. It has to be random for each of my 5 contacts, every time i run the app. Can you help me?




Aucun commentaire:

Enregistrer un commentaire