An open-source Android icon pack built from clean, traced SVG icons, organized by app package ID and generated into an icon-pack-friendly Android resource structure.
IconTraces ships icon sources as SVGs named using the target Android app package name (example: com.spotify.music.svg). The repository includes an automation script that converts these SVGs into WebP drawables used by the Android app, and a mapping file (appfilter.xml) used by supported launchers to apply icons.
Paths may vary slightly depending on your project structure, but the key files are:
packages.txt— The master list of supported app package IDs (one per line).*.svg(source icons) — SVGs named as<package_id>.svg.prepare-for-icon-pack.py— Script that generates the required WebP resources.res/drawable-nodpi/— Generated foreground WebP icons:fg_<sequence>.webp.res/xml/appfilter.xml— Maps an appComponentInfo{...}to a drawable name.
- Android Studio (to build/install the app).
- Python 3.x (to run
prepare-for-icon-pack.py). - Script requires
ImageMagickto convert svg to webp
git clone https://github.com/jeerovan/IconTraces.git
cd IconTraces
# Open in Android Studio and build/install-
Add package entry to
packages.txtfile and note the line number as sequencecom.example.app -
Add svg file in
svgsfoldercom.example.app.svg -
Run prepare-for-icon-pack.py
-
update
appfilter.xmlasapp/src/main/res/xml/with component infocomponent="ComponentInfo{com.example.app/com.example.app.MainActivity}" drawable="fg_<sequence>" />```
- Modify the existing <package.svg> file in svgs folder
- Delete the old webp file from the
res/drawable-nodpi/folder. (Check appfilter.xml if you are unsure which sequence number corresponds to the app) - Run the python script and regenerate the webp drawable.