Just wanted to say:
The function setBoundsToFit() does not work with a DrawablePath object. You can call the function, but nothing happens.
Not sure if it is supposed to be that way. Or maybe I am doing something wrong?
Now I am using setTransformToFit() instead, which works fine. It does what you expect: putting and scaling the DrawablePath in the bounds, which you pass to the function.