Skip to content

leddaz-stuff/statix_vendor_lawnicons

 
 

Repository files navigation

Here’s how to add an icon to Lawnicons.

  1. Prepare your icon in the SVG format, adhering to the following guidelines. Use snake case for the filename (e.g., youtube_music.svg).

  2. Add the ready SVG to the svgs directory.

  3. Using Android Studio, convert the SVG to an XML drawable, and add the XML drawable to the app/src/main/res/drawable directory. Use snake case for the drawable name (e.g., youtube_music). You can keep all settings at their defaults.

  4. Add a new line to app/src/main/res/xml/grayscale_icon_map.xml, and map the new icon to a package name and app name. For example:

    <icon drawable="@drawable/twitter" package="com.twitter.android" name="Twitter" />

    A general template is as follows:

    <icon drawable="@drawable/[DRAWABLE NAME]" package="[PACKAGE NAME]" name="[APP NAME]" />
  5. Done! You’re ready to open a pull request. Please set develop as the base branch.

About

No description, website, or topics provided.

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 96.2%
  • Python 3.7%
  • Makefile 0.1%