I've added an icon to my app via the built-in Image Asset Studio in Android Studio.
Made a png foreground and then color as a background.
On a Samsung device, the icon renders perfectly.
Then when I install the app on a Huawei P20 with android 10. The icon is rendered like this:
I think the Huawei UI isn't using the adaptive icon, but uses the legacy icon and adjusts it into its custom app shape UI and therefore zooms in.
Are there some extra steps I need to do for having a good rendering app icon?
Thanks.
Have you tried Adaptive Icons?
Instead of using a single image use the combination of 2 images for Foreground and background.
You can take the idea from android's default app icon, it's also adaptive.
I had the same problem with Huawei P20 Lite (Android 8.0.0) when I tried to install an app from Android studio.
There's nothing we can do to fix it.
But the icon will look like it should after a reboot.
Also, if you'll build a release version of your app and install it via adb install the icon will look like you expect.
Related
I'm attempting to create a custom ic_launcher for the Android app currently in development.
After going through the Asset Studio process in Android Studio, the expected output is produced.
For example, when viewing res/mipmap/ic_launcher_round, the following has been produced. As you can see, the foreground (originally 512x512px) has been scaled according to how it was set in the Android Studio process. The background is also visible.
Desired Output
The issue is how it appears on the development device. I have absolutely no idea what is going on.
Actual Output
I'm confused as to why the development device is showing something different to Android Studio and why the development device is showing the unscaled version..
P.s. the background color and foreground icon are simply for testing purposes - this is not the actual app icon :)
I'm really shocked as to what is happening and have scoured the internet for answers but to no avail
We are working on Print service(plugin) related application, we have a production version which is available on Google Play. We planned to release an updated version of this app with the new app icon(launcher icon). We replaced existing res/drawable/ic_launcher.png with a newer icon with a different name like res/drawable/ic_new_launcher.png. So to see the updated new logo, We have to navigate Android Device setting -> Printing. It is showing me the Android logo instead of Our app logo.
We can see app icon only if we restart device & coming back to Printing service screen under device setting.
We tried to move ic_new_launcher.png from drawable to mipmap but still facing the same issue.
Issue observed on Samsung Galaxy S8 plus(7.0 Nougat) & LG G6(7.0 Nougat). Not sure this issue resides on other device models & OS version.
Note: *App logo is showing perfectly if we install freshly
Attached Image for reference
Please let me know If any other information required.
Add your launcher icon in all below res folder i hope its help
1)mipmap-hdpi
2)mipmap-mdpi
3)mipmap-xhdpi
4)mipmap-xxhdpi
5)mipmap-xxxhdpi
I'm trying to make a very simple android app using Android Studio, it should open with a splash screen, then open a WebView.
I made it, and it works perfectly on my phone (with android 4.4.2), but when I try to use it on other device, I only get a white screen. I tried to use on a phone with android 4.1.2 and 6.0, none of them worked.
Any ideas where could be the error?
Edit:
Here's the files
https://github.com/gethuliogripp/kitexp
I've come across this problem and I was getting no errors as well. You have to make sure the images you use in the app such as your web view and splashcreen actually fit the screen so the app doesn't run out of memory. So make sure your images in your drawable are almost the same size as your phone screen, for my background i made the image 3in by 5in and my app works on all devices now.
I have developed a game for android device using LibGDX. When I test the app in actual devices the app get installs properly and the app icon is shown in the apps.
When I tried in a device Redmi from xiaomi, a default green robot icon was shown instead of the app's icon. I have even removed the ic_launcher.png from the drawable* folders, the issue still existed. Could you please explain / assist me to resolve this ?
Hi i have a problem with my app icon. The icon is displayed correctly on the actionBar of the Emulator but for some reasons it doesn't display normally on my device. Unfortunately I don't have another device models for testing.
Screenshots are attched below
To change the app icon I just changed the drawable on the manifest, is this correct ?
<activity
android:name="--ActivityName--"
android:icon="#drawable/navbarlogo"/>
EDIT:
I tried the app on different android version (Emulator). the result is good but not on the physical phone.
Can it be related to the ROM ? On the phone I have the MIUI ROM.
Checkout the size of your icon image. It should be small in size.