List of available icons?

14,610
  1. Select the desired icon here. For example, you need info icon. Look at what section is the icon. See that, the info icon is in the Action section.
  2. Find XML-file by icon name here. Open Action folder. XML-files for Android in these folders: drawable-anydpi-v21. We need file ic_info_black_24dp.xml
  3. Copy ic_info_black_24dp.xml to you Android studio project to folder app/res/drawable.
  4. Use icon

    <item ... android:icon="@drawable/ic_info_black_24dp" />

Share:
14,610
Stefan
Author by

Stefan

Enjoys and works with Java, SQL, javascript, web, ...

Updated on July 29, 2022

Comments

  • Stefan
    Stefan almost 2 years

    When I used an Activity Template in Android Studio I got a Navigation View where the following icons were used:

    <item ... android:icon="@drawable/ic_home_black_24dp" ... />
    <item ... android:icon="@drawable/ic_dashboard_black_24dp" />
    <item ... android:icon="@drawable/ic_notifications_black_24dp" />
    

    I'm not very familiar with Android so my question is where I can find a list of all available icons (and if the list differs for different Andriod versions etc).

  • James Bond
    James Bond over 2 years
    It is also useful just to download the whole icons repository to your machine: git clone [email protected]:google/material-design-icons.git