0
Hi, I’m having trouble with the fact that getDrawable
is obsolete. Please, how can I convert my code so it can be updated? I thank you in advance!
int height = 100;
int width = 100;
BitmapDrawable bitmapdraw=(BitmapDrawable)getResources().getDrawable(R.mipmap.guardian_ico);
Bitmap b=bitmapdraw.getBitmap();
Bitmap smallMarker = Bitmap.createScaledBitmap(b, width, height, false);