Good afternoon! Home
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 depending on the smartphone screen, the marker gets huge! Home I would like to know if it is possible, and how, to use Density Pixels (dp) in the code described above. Home Thanks in advance for your cooperation! Home Greetings,