Hi Erel, thank you for your answer.
In these hours I did some tests on an API 30 device and, as you suggested, the deprecated method still worked fine on a sample project (but not in my main one).
So I figured that the broblem wasn't the deprecated method but something else in my project.
Only after quite some time I figured that the problem was that I was showing and hiding some panels behind my spinner and, for some reason, the "setColorFilter" method did not work as expected (Samsung Galaxy Tab A7 Lite, API 30).
At the end I managed to get it to work by adding the spinner (and a label) to a different panel instead of the same panel that has the background panels.
Still this is a strange behavior because the I don't think that the same app installed in two different devices should behave differently:
This is the example project running in a Wiko Lenny 3 (API 23) | This is the example project running in the Galaxy Tab A7 Lite (API 30) |
| |
You can find the example project attached.
At the end I fixed the problem that I had in my project, but at the same time I found out other things that I don't know how to explain.