Reputation: 87
I would like to use the "standard" Google Maps icon and the Google Maps direction icon as src in an ImageButton
. When the ImageButton
is pressed I would like to fire an Intent
to start Google Maps. The icons I have in mind are those that appear in the following screenshot. These icons appear when you show a map using Google Maps lite mode.
I can't seem to find those or similar icons provided by Google anywhere. Is this happening because I am not supposed to use them?
Upvotes: 1
Views: 2015
Reputation: 304
You can find the direction and map icons in android studio here
Expand res > right click on drawables > new > Vector assets > click on the button against Icon > select maps
Or you can download the svg's from here
Google encourage developers to use vector assets as they are scalable and follow material design specifications suggested by google. So it's better to use them.
If you still want to use the exact icons then you can get them here
Upvotes: 1