I have a xml file defining my layer-list. If I set it in the xml file for the actual layout like this
it works fine.
I wonder however how to do it with the setProgressDrawable() method in my code. I can't find a code example of this. A little hint would be appreciated.