-
Notifications
You must be signed in to change notification settings - Fork 25
Adding icons and making them work
Sarsa Murmu edited this page Jul 1, 2024
·
2 revisions
- The recommended icon size is 256×256 px
- Supported formats are PNG WebP and XML (Vector)
- place them in the
app/src/main/res/drawable-nodpi
folder
- To make icons work in a launcher, you'll need to add some lines of code to the Appfilter:
app/src/main/values/appfilter.xml
&app/src/main/res/xml/appfilter.xml
. You can gather the info with an app like Icon Request, it should look like this:
<appfilter>
<!-- CandyBar Dev -->
<item component="ComponentInfo{com.candybar.dev/com.candybar.dev.activities.MainActivity}" drawable="candybar_dev"/>
</appfilter>
- Paste all the info in both appfilter.xml files and check if the drawable name matches with your icon.
- To preview the icons in your own icon pack, you'll need to add the names to the drawable.xml files too:
app/src/main/values/drawable.xml
&app/src/main/res/xml/drawable.xml
.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<version>1</version>
<item drawable="candybar_dev" />
</resources>
If you want more help then join Our Telegram Group.
- Wallpaper JSON
- Setting up the Config JSON
- Advanced Dashboard configurations
- Changing fonts
- Changing navigation drawer icons
- Changing icons of the apply section
- Replacing icon names in icon preview
- Enabling OneSignal notifications
- Enabling InApp purchases (donations and premium requests)
- Customizing the analog clock widget
- Enabling Kustom presets