I'm attempting to scale an overlay image for a map to make it the correct size. Eventually I'll need to do the dynamically for when the user zooms in and out.
I attempted to use ScaleDrawable like so, but this causes a crash:
If on the last line I use myIcon instead of z19, there are no problems (other than the overlay not being the desired size).
Adb isn't telling me anything at the moment.
Appreciate any suggestions!