0
Good afternoon !
I’m creating a custom Marker for the map:
final Bitmap markerIcon = Bitmap.createBitmap(275, 275, Bitmap.Config.ARGB_8888);
final Paint paint = new Paint();
final Canvas canvas = new Canvas(markerIcon);
I’m using fixed sizes for the images, so I depend on the smartphone screen, the Marker gets giant!
I wonder if it is possible, and how, to use Density Pixels (dp) in the code described above.
Thanks for your cooperation!
Greetings,