I think you already knew the solution.
In your code
drawable.setBounds(0, 0, 0 + drawable.getIntrinsicWidth(),
0 + drawable.getIntrinsicHeight());
Just set the bound of your drawable like this
drawable.setBounds(0, 0, 0 + MAX_WIDTH,
0 + MAX_HEIGHT);
If you want to scale the image , I think you could do some math there. Hope this help:)