About 51 results
Open links in new tab
  1. Set Image from drawable as marker in Google Map version 2

    Set Image from drawable as marker in Google Map version 2 Asked 12 years, 6 months ago Modified 5 years, 1 month ago Viewed 98k times

  2. Google Maps API v2 Android add shape drawable as marker

    Jan 31, 2013 · markerOptions.icon(BitmapDescriptorFactory.fromResource(R.drawable.blue_circle)); Apparently I get a NullPointer exception. Must the marker icon be a bitmap? Am I allowed to add …

  3. Is it possible to load a drawable from the assets folder?

    Feb 3, 2011 · Can you load a drawable from a sub directory in the assets (not the drawable folder) folder?

  4. Custom marker in google maps in android with vector asset icon

    How can we achieve a map marker icon with vector asset file, the way google shows it like this, programatically: Update: map.addMarker(new MarkerOptions() .position(latLng) .icon(

  5. how to access the drawable resources by name in android

    The best solution would be to create a map of your icons in your code val iconMap: HashMap<String, Int> String is your key (to that drawable resource) that you can keep in your database, or even the …

  6. proguard - Map Strings to Android Drawable Resource ID, without ...

    Feb 9, 2024 · My Android library contains ~1300 drawables. For server driven UI, applications need to efficiently retrieve each drawable using a backend specified string ID (assume it's the resource name for

  7. android - Mipmaps vs. drawable folders - Stack Overflow

    Jan 21, 2015 · Any other drawable assets you use should be placed in the relevant drawable folders as before. According to this Google blogpost: It’s best practice to place your app icons in mipmap- …

  8. Android - Storing images in mipmap vs drawable folder

    Mar 24, 2016 · As a general rule, when storing image resources for use in an Android project, should they be placed in the res/drawable or the res/mipmap folder? Apologies for the simple question, I'm …

  9. Bitmap drawable (Map Overlay Item) pixelizes after rotation in android

    May 10, 2013 · Bitmap drawable (Map Overlay Item) pixelizes after rotation in android Asked 12 years, 5 months ago Modified 11 years, 10 months ago Viewed 1k times

  10. android - Mipmap drawables for icons - Stack Overflow

    May 29, 2014 · References: The Android 4.3 APIs document has the following to say: Using a mipmap as the source for your bitmap or drawable is a simple way to provide a quality image and various …