Recently, I am implementing the adaptive launcher icon in my android application. I have successfully implemented it.
I ran my application on some Gionee mobile( mostly i run my application on Stock Android) running on customized Android 6.0 like mi or Huawei. I found out that there is some kind of ugly mask the manufacturer has embedded in the customized Android which makes the App Icons ugly.
So, I downloaded other apps and found out that other apps also have this ugly mask but apps like Google Tez, Google PlayStore, and many other Google apps are somehow defying this ugly mask thing making their icons like the original. How are they doing it?
I thought by putting their launcher icons into mine could put an end to my misery and I will somehow get the insight of making the launcher icon more compatible.
Here is the result of putting Tez icon in my resource file.
As you can see there is that ugly mask in my icon on the left of google chrome and the right one is the original Tez app icon. How are they doing it?
Related
I want to use the square version of my launcher icon but somehow android keeps forcing use the rounded version.
I read forcing square app icon and although the explanation makes sense it is not true:
in this screenshot you can see that most of icons are rounded but you have
contacts, widget preview and terminal emulator
And before someone say "they are special apps" terminal emulator is a shit app i downloaded from play store... In my cellphone 80% of apps are rounded but instagram, booking and some others are square...
how to force android use my square launcher?
There is a solution for this which i have tried and its works for me.
What we have to do is take the app icon and keep in res -> drawable.
App icon should be in all formats:-
mdpi
, hdpi
, xhdpi
, xxhdpi
, xxxhdpi
with same name for example-
ic_app_icon.png(mdpi)
ic_app_icon.png(hdpi)
ic_app_icon.png(xhdpi)
ic_app_icon.png(xxhdpi)
ic_app_icon.png(xxxhdpi)
Then in Android Menifest file do this change
android:roundIcon="#drawable/ic_app_icon"
by this we can get app icon square.
First, please understand that there are hundreds of different launcher implementations in use across the ~10,000 Android device models and ~2 billion Android devices. How a launcher chooses to represent your activity is up to the developer of the launcher. For example, there is no requirement for the launcher to use any icon at all (e.g., a launcher optimized for screen readers and visually impaired users). A launcher that does use some sort of graphical element might use your icon or not, and if if it does use your icon, it might modify it (crop it to a shape, apply a color filter, cause it to spin, whatever).
Your screenshot appears to be of the Android emulator. In that case, temporarily, you can set your targetSdkVersion to be 25 or lower, and that particular launcher will not attempt to adapt your launcher icon.
However, please bear in mind that you will not be able to ship your app on the Play Store with that low of a targetSdkVersion starting in a few months. So, if the Play Store is your planned distribution channel, you will need to get used to Android's adaptive icon system and deal with the fact that the shape of your icon will be changed on most Android 8.0+ devices.
I've been developing an app to android for a while and I've been trying different devices with multiple screens dimensions and different OSes.
I was testing the app within a Wiko Robby and I've noticed that the app icon had a background added that on previous devices weren't present.
The right side icon is owned by the OS, whilst the left one is mine. The background I would like to remove is that subtle rounded corner box background that was added the the background of the icon.
I've been searching and what I want can be achieved by installing 3rd party apps to edit the OS theme, but I don't want to do that, nor asking the users to do so.
Is there anyway I can remove the background?
This is not possible, unfortunately. This feature is entirely managed by the home screen and developers have no control over it.
I don't think that you should worry about it, though. The user is probably used to see this background behind 3rd party app icons and he will probably not even notice it on your app. I would even argue that it can be disturbing for the user if your icon was displayed without this background, as this could led him to believe that your app is a system app.
I am working with a team to develop a cross-platform application on mobile, and we're using Visual Studio 2015 and Xamarin.Forms v2.3.2.127.
We have already created the application icons that we need for the three different platforms (Android, iOS, UWP) and each one follows the native platform specifications.
There's only one more problem that we have faced, and I would like to know if there's any answer for my problem. Some of the devices that run Android OS forces the application icon to have a squared background, and they seem to give arbitrarily colours for the background (please check the image afterwards). We don't want to change the application icon by itself for Android so we're looking for a better way.
Is there any way in Xamarin to be able to detect that the device is adding a coloured background for the application icon so we can provide it with the icon that we want, or at least change the colour the device is going to use?
As you can see, Whatsapp, Facebook and Dropbox icons are all modified and given a squared coloured background.
Thanks in advance for any help that could be given.
Regards, Paul.
This is a custom launcher / icon pack's doing. Most likely the manufacturer's doing(LEAGOO). You may notice that "Known" apps will have a custom icon, but if you created a custom app it might look much different with a random background and perhaps an icon transformation of some sort.
It might be worth getting a stock Android device to ensure your Icon looks great on stock Android as you'll never know what different launchers(bloatware) will do to your app's icon.
If the OEM has a way to interop with it, then by all means that would be the easiest way to customize this behavior. However most launchers are included in the OEM's package/bloatware.
So my Gear app is coming along nicely, but I've run into a bit of a problem with the app icons. I've designed a nice white-outline version of my icon that looks good on the device and fits in with the system apps.
But on the Gear Manager (on the phone), it looks awful, because the background is almost white. Is it possible to specify a different icon for Gear Manager, and if so, how?
No this can't be done as you can have only one icon for the app. But if that white background disturbs you make it transparent.
My Samsung Galaxy S2 running Android Ice Cream Sandwich has nice little counters that appear on the home page shortcuts for Mail etc. telling me how many new messages there are waiting. That's just the behaviour that I want for my own app.
If I've read the Android docs and related questions in SO right, that behaviour is not exposed through Android, but is provided by the launcher itself, so it can't be done directly.
But I have produced the behaviour that I want using an app widget. Now I'm left with the problem of making the app widget layout visually consistent (alignment, text appearance) with the appearance of the regular shortcuts. I can't see a sensible robust way to to this. Anyone?
(Otherwise it looks as though I'll have to make the app widget look sufficiently unlike a shortcut that visual consistency isn't an issue.)