I have a normal listview that lists the names of my users.
And I would like the disabled users to have the gray bottom of the list item. How to do this?
public class Usuario {
private String nome;
private String endereco;
private Boolean ativo;
//construtor
// getters e setters
}
That is, if active is true, leave normal. If it is false, leave it gray.
How do I change the color of the List View item if it is disabled?