Android launcher icon with transparent background not working in Oreo. It shows a circle background. How can i remove this circle shaped background in Oreo Using Android Studio. In other versions, no problem. Any idea please help me
Just open this image for launcher icon without rounded shape https://i.stack.imgur.com/8IVpP.jpg
To give a launcher icon a transparent background in Oreo, you have to target API 25 or lower. Keep in mind that all apps will be required to target API 26+ by November 2018 (or August 2018 in the case of new apps).
Are you using Adaptive icons? According to this article on medium, the background drawable must be opaque, while the foreground icon can be transparent.
"background drawables must be opaque whilst foregrounds can contain transparency."
https://medium.com/google-developers/implementing-adaptive-icons-1e4d1795470e
... possibly duplicate of: Transparent adaptive icon background
Related
I'm having trouble with the icon that is shown for my PWA as:
splash screen icon
icon that is shown in the "Install app" dialog
See splash screen: (it's already fading out to the app a little bit, sorry about that):
https://i.imgur.com/rgLWDgg.png
And the Install dialog:
https://i.imgur.com/5GqpkGY.png
My icons (up to 512x512) are just circular, with transparent backgrounds. I created them using a PWA icon generator website. The icon looks like this:
https://i.imgur.com/xycHvyK.png
Does anyone know why the icon is shown with a black background in the splash screen and in the Install app dialog?
My app manifest declares both the title bar color and the background color as #fafafa (almost white).
Thanks for the help!
Hello I am developing a smart device application with .net framework 3.5 to windows ce mobile.
I added icon to my project from Properties > Application > icon and manifest.
My icon is a triangle shape and it needs to has transparent background. I added my icon from properties with transparent background so in mobile device application will have a triangle icon for shortcut.
when I create a cab file for my smart device, it takes icon where I defined from Properties > Application > icon and manifest. But my problem is after installing the application by cab file, it creates square shortcut without transparent background (a triangle and white places).
I need my application shotrcut icon to be seen without white places on smart device.
So I think maybe there is a way to set icon while creating cab file so that it does not take the exe's icon and changes it to a squared icon with white places.
Is there any way to solve my problem?
my icon with transparent bg
the icon which cab file produces
I assuming you are talking about a Windows CE (5/6) or Windows Mobile (5/6) project. So we are talking about "Compact Framework 3.5".
AFAIK only ico files are supported for application icons. That is clear from the file open dialog for Properties > Application > icon and manifest:
Your png files are not supported as application icon with transparent background.
If the icon is edited as resource inside VS2008, there is a special 'transparent' color:
This works fine for the Windows Mobile Start menu:
The icon shown for a cab file is defined by the registry and the same for ALL cab files:
We use the Artifactory OSS 4.15.0 version (latest at the moment of this writing).
We can change the logo but are unable to change the background color that stays green on the top banner (where there is the logo, the search, the name of the logged in user and the help).
How to change this top banner color that is green at the moment?
You can change the code, as you are on the OSS version, but there is no out of the box option in Artifactory to change the color of the header.
I am working on Xmarin.forms project. I have many icons in the app. what should be the size of the icons for each platform? I know android supports
Android
72x72 - drawable
72x72 - drawable-hdpi
96x96 - drawable-xhdpi
144x144 - drawable-xxhdpi
iOS
57x57
114x114
120x120
72x72
144x144
76x76
152x152
28x28
58x58
50x50
100x100
40x40
80x80
512x512
1024x1021
This sizes are only for the logo icons? Or all the icons including toolbar icon and burger menu(using master details) has to follow this resolutions? And what size images I can use for splash screen for android,iOs and windows phone?
And what are icon sizes for windows phone?
Please guide me on this.
It depends per platform, per control.
The best would be to refer to the platform specific documentation about user interfaces.
You can find Apple's here.
The one for Android can be found here.
The Windows one can be found here.
Or have a look at this aggregated site with all sizes and flavours in one place.
Also there are some generation tools, at least for the app icons, etc. For example have a look at Make App Icon.
Last but not least; have a good look at how each platform handles icons and sizes. For iOS and Android it has to do with naming conventions or in which folder you put your icons. This is to support all resolutions out there.
Okay so I know that starting in Android 5.0 the way your supposed to do things is to have an all white notification icon on a transparent background, otherwise your notification icons will appear as a white block. However if your target sdk was lower than android 5.0, they'd let you get away with the old way just fine.
This all seems to work on Android 6.0 for the lock screen and the notification drawer, HOWEVER in the notification bar I get the white square now, even when my target sdk is lower than android 5.0... Is this a bug in Android, or do I just have to start doing the notification icons in the new way now?