You don’t need to design your own icons for today’s lab — I will provide the icons so you can focus on the Android + Maps skills.
But if you enjoy graphic design or want custom icons for your project, here’s what you need to know:
🎨 1. Icon Size Matters
Google Maps renders small marker icons best when they are:
✔ 48×48 px or 60×60 px
✔ PNG format
✔ Transparent background
If an icon is too big:
It covers too much map space It looks blurry when scaled down It slows down the app (large files) If it’s too small:
Sweet spot: 48–60 px.
🐻 2. Recommended Tools for Making Icons
⭐ Easiest Method
Generate an icon with Google Gemini Image Generator Resize it with TechSmith Snagit (or any image editor) This workflow is fast, reliable, and fun.
🎨 3. Free Tools Students Can Use
If students want to design their own icons:
✔ Canva (free browser tool)
Export as PNG with transparency ✔ Figma
Vector shapes scale cleanly ✔ Android Studio Vector Asset Tool
You can recolor icons easily Tip: For simple shapes (stars, cars, trees, animals, restaurants, etc.) Vector Asset Studio is perfect and avoids pixelation issues.
🌟 4. Style Tips for Better-Looking Map Pins
Use simple shapes (avoid detailed artwork) Avoid text inside the icon (too small to read) Use thick outlines so it stands out on maps Keep contrast high (dark outlines, bright colors) Maintain a consistent style if you have multiple categories 💡 5. Name Your File Clearly
Good names:
Bad names:
Clear names make your Kotlin code easier to read.
🏁 6. Where to Save Icons
Place your PNG file into:
app/src/main/res/drawable/
Android tools will automatically assign it an ID like:
R.drawable.ic_restaurant_pin
Which you can reference in your code.
🎁 7. Good News — Icons Provided
To keep the pace of the lab smooth and stress-free, your instructor will provide you with:
You are free to use these, or swap in your own designs if you enjoy creativity.