I´m new to Android Espresso testing, and in my application I have some ImageButton views that I would like to test their background colors but I could not achieve it by any means.
I tried using ImageButton.imageTintList, ImageButton.backgroundTintList and similar but to no success.
Is it even possible to retrieve the background color of an ImageButton view to use in custom view matchers?