I keep getting this white border on my app icon "App Name" - does anyone know how I can get my icon to look like e.g. the "Settings" or "Messages" app icon that doesn't have a white border?
I have tried using the following filenames but these all seem to add a white border:
- ic_launcher
- ic_launcher_round
- ic_launcher_foreground
Here's my app icon:
Environment:
- Sonim XP8
- Android 10
- Android security update: March 1, 2022
- Build number: 8A.0.5-08-10.0.0-31.11.00
CodePudding user response:
Go to File -> New -> Image Asset. Then choose Launcher Icons as the Asset Type.
Choose a High-res image for the Image file: Next -> Finish to generate icons.
Finally update
android:icon
name field inside theAndroidManifest.xml
file, if required.
CodePudding user response:
Please refer this documentation
https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-icon#5