Logos and Icons and SplashScreen

Estimated reading: 3 minutes 172 views
In your main solution, you will find 4 main folders with the following names
  • drawable: for all android screen sizes by default
  • drawable-hdpi: for small devices screen
  • drawable-xhdpi: for normal devices screen 
  • drawable-xxhdpi: for High HD screens such as Samsung s20 and s21

Replace the icons and images you want and add them with the same name and type with an extension to an image and do not change the names of your images.

In the folders drawable for logo and Push Notification Icon, and in the folders mipmap for icon app.

For the accuracy of the icon and logo, please use this website https://appicon.co

Change SplashScreen

You have two types to display the splash screen either a static image or a color with an icon/logo using an XML file.

  • XML File: In this default option
    1. You can select a background color from the file ic_launcher_background.xml
    2. You can select the source image icon or logo in the drawable > splash.xml file.
  • Static Image: Go to each drawable folder and replace splashscreen.webp file with your own splash screen. The format must be the same. And then go to each values > style.xml splash to splashscreen.
  • On API 31+ (Android 12+) and up the SplashScreen is static, just you can change the color and icon values-v31 > style.xml
Note

When you change the type to display splash in the theme on style.xml you should change in all files style.xml on all folders values.

NOTE: Why does my app still show the Default launcher logo and icon on my phone after I changed them and rebuilt the app? Make sure you've correctly replaced the app icons in all necessary `res/drawable` and `res/mipmap` folders for various screen densities. Clear your device's cache and data for the app, rebuild and reinstall the app. If issues continue, double-check your changes or seek further help. res/drawable/logo.webp res/drawable/ic_stat_onesignal_default.png res/drawable/splashscreen.webp res/drawable/icon_11.png res/mipmap/icon.png res/mipmap/icon_round.png Also, ensure you replace these icons in the various density-specific folders: Drawable folders: drawable-hdpi, drawable-xhdpi, drawable-xxhdpi, drawable-xxxhdpi Mipmap folders: mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi, mipmap-xxxhdpi ​

Leave a Comment