Search code examples
iconsmaterial-design

Import material design icons into an android project


Is there an easy way to import all the icons of the Material Design icons repository into an android project with out the hazard of doing it manually?


Solution

  • In the documentation i found this usefull line :

    import androidx.compose.material.Icon
    
    Icon(Icons.Rounded.Menu, contentDescription = "Localized description")
    

    It's pretty simple and works like a charm !