getBackgroundColor

Returns the color if it can be retrieved from the view's background drawable, or null otherwise.

In particular: