Black background the app icons Android Studio - android

I need an app icon with a transparent background, but for some reason, the background is black at Full Bleed Layers. Does anyone know how to fix it?
Screenshot of Icon
This is not a duplicate question!

Related

Android icon doesn't fit

I've been experiencing an issue with creating an icon that fits in any size and shape. I use Studio to do it, but I must be doing something wrong, because there is a small padding in it.
I add my image asset as background layer with nothing in foreground layer.
I've tried to fix it by trimming it and using huge icon source 1920*1280.
When I changed to new theme it turned out that few other apps on my phone(other devs) have same poor icons.
Also tried this
Creating an icon using foreground layer totally solves this issue.

How to Remove white Background from icon?

I have an app on android that create home shortcut icon.
The image of the icon is image that i set programmatically from the drawable
Now the problem is, when the shortcut was created on the home screen it's created with white background.
How do i remove that white backgroubd and set image to full size of icon?
Thank you all..
EDIT: the app i was talking about is app that i developed using android studio and just want to set full size of image when i create home shortcut
This is highly dependent on the launcher you use. The image looks like the standard google android 8+ (?) icon shape.
I theory it could be part of the icon you created but since you are asking this I doubt it.
In older versions of android the outer shape of the icons were individual, while rather cool and the outline correctly shown while dragging them etc many complained about the lack of a uniform look of all the icons in the app drawer etc.
It was introduced to make all icons seem more uniform.
Long pressing an empty space in the Google Pixel launcher for example shows a choice to go into the settings for the launcher and there you can change the shape all icons should have:
In addition to this, apps can take advantage of the various shapes and adapt to them and fill them out so to speak. See for example the Chrome icon while changing the icon shapes in the launcher settings.
Introduced in android 8: The feature is called adaptive icons.
See the docs about adaptive icons here:
https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
That is because of adaptive icons - a feature of Android 8 and can't or shouldn't be changed. You can at best change the colour of the background.
i removed the white background from the launcher icon by following these guidelines https://developer.android.com/studio/write/image-asset-studio
a few more points
in the background layer, move the slider to resize the icon until you see no what would have been the white background.
in the manifest file, change the icons to reference the mipmap folder;
android:icon="#mipmap/yourlogo"
android:roundIcon="#mipmap/yourlogo"

Removing Grey and White Chequered background in Android Image Asset Studio

I am trying to remove the Grey and White Chequered background from a launcher icon jpg file using Android Studio's Image Asset.But no luck so far.
Is there any way to do this?
below is the Background :
The checkerboard background is for transparency. Same happens in paint.net. If you end up with transparency, you get a checkerboard like that of white and grey.
It is technically not a background, you don't actually see that in the launcher. Alpha shows as a checkerboard to ensure you know you are seeing alpha. If you install it on a device, you can see what is "under" the launcher icon. If your icon is 256x256, and has a 10x10 square of transparency in the middle, you will see a checkerboard there too. If you then launch it on the device and check the launcher, you will see that there is a see-through hole in the middle.
Basically, the checkerboard isn't a background - it is transparency.
With the exception of the times where you actually create a checkerboard on purpose, but that can then be deleted by modifying the .png file
Right-click on image, form the menu that pops up select Hide Chessboard.

My android app icon has a coloured background instead of transparent:

My android app icon is a png image with a transparent background. In the image asset configuration IN ANDROID STUDIO, I set its shape to be NONE. However still, whenever the app is installed on my device, a purple square background is present. However on another version of android, the app icon background is transparent. How do I remove it? Can somebody please shed some light?

Loading appropriate Android app icon depending on dark or light theme

I have an app icon with transparent background. I have 2 variants: black and white.
The issue I have found is that some android phone menu screens have a black background, while some others have a white background.
Therefore the issue I have is that my logo looks invisible on certain phones no matter which i pick.
How do I solve this problem?
Is there a way to use the dark or light variant depending on the theme?

Categories

Resources