Launcher icon too small - android

The launcher icon of my app is downsized, it's smaller than the other icons. I even tried to copy the launcher icon from my other app and when I put these apps (with the exact same icon) next to each other, one icon is smaller.
Both apps have the same minSdkVersion and targetSdkVersion. It's quite weird, what could possibly be the problem?
I tried reinstall, phone restart and two launchers, the default Moto G launcher and Google's KitKat launcher.

Google launcher uses xxxhdpi drawable directory (192x192) to display app icons.
Plus, make sure you dont have an big padding transparent pixels around the icon shape,
I suggest you to use Image Assets to generate your app launcher icon. it comes with Android Studio and Eclipse.
File -> New -> Image Assets

It was my fault, the icon simply had too much padding, it wasn't downsized. The other app had a v14 version of the icons with less padding and I copied the normal versions not noticing the v14 directory.

Related

forcing square app icon

I will set a square app icon for my Android App made with Android Studio.
I set my own app icon with File -> New -> Vector Asset
This creates a normal and a round app icon.
If I copy and rename (ic_launcher_round.png) the quadratic app icon and install it for example on OnePlus Launcher i get the round icon, too.
My Logo is square, so it is really ugly to see it round.
How I can force a quadratic app icon? Is this possible?
If I set only android:icon="#mipmap/ic_launcher" instead of this and android:roundIcon="#mipmap/ic_launcher_round" in my Manifest.xml nothing change.
Your app's icon will be rounded when a launcher decides to make it rounded.
The "launcher" is just another app, like yours, but it is not your app - it is separated completely from it, and you can't normally influence any process that is separated from your app's process, OS will forbid that.
Only sometimes you would be able to do something like that by utilizing some form of Inter Process Communication (IPC) offered by your OS, assuming of course that the process you want to communicate with is also 'willing to talk' with you [utilizes the same form of IPC to allow other process to change some of its behaviors].
Also the purpose of the Android Studio's wizard you used was to help you generate ready-to-use drawable files and it was just to save your time on making these drawables all by yourself in some image editor.
Any drawable set inside XML manifest file for being your app's round icon will be rounded a t the end and that is no matter how it actually looks. I don't think you can expect any currently available major launcher application to display some apps' icons as round and some as square. It would significantly harm its user experience.
I'm afraid you will have to adapt to this situation and make your square app's logo a little bit smaller and leave some empty space around it to allow end user's launcher app to draw a circle around this logo.
Here you can find official recommendations for designing Android apps' launcher icons: https://material.io/guidelines/style/icons.html#icons-icons-for-android and here you can read about the most current approach in a subject of Android apps' icons: Adaptive ones. Any other type of icon can be treated as 'legacy' and used only for compatability reasons when targeting APIs below 26.
Edit:
In the comments section OP mentioned some apps that do currently have square icons in their newest versions and that turned out to actually be a small UX design flaw of its developers.
Just as an example, I've downloaded Bytecoin app OP mentioned, and this is how it looks like on my phone, Android 7.0:
The red object in the corner has ben cut off. I think we can assume that every other app on the Google Play that displays there with square logo [which looks good in their store pages because Google Play allows square logos] will look bad when installed on phones with modern versions of launchers, especially api >=26.
If your target SDK is 26 and android device version is 8, the app icon will be round.
One of the ways to achieve this is (Not sure if it is the right/best way to do it)
In AndroidManifest.xml I had to set
android:targetSdkVersion=“20”
<uses-sdk android:minSdkVersion=“16" android:targetSdkVersion=“20” />
android:roundIcon=“#mipmap/ic_launcher_round”
<application android:hardwareAccelerated=“true” android:icon=“#mipmap/ic_launcher” android:label=“#string/app_name” android:roundIcon=“#mipmap/ic_launcher_round” android:supportsRtl=“true”>
Ensure the ic_launcher_round images are Squared one.
I used the android studio to generate adaptive and legacy icons…
I deleted the ic_launcher_round images generated by the android studio.
I copied ic_launcher images(Generally the Square icons) to ic_launcher_round.
Now my ic_launcher_round is Squared icons.
(ic_launcher_round.png, ic_launcher.png, icon.png) all of them are the same images
After making this changes, rebuild the app. Now you should see Square icon when you install the app.
Since Android 8.0 (Oreo)
The new way of designing app icons for Android now is described there :
Adaptive icons
Android 8.0 (API level 26) introduces adaptive launcher icons, which can display a variety of shapes across different device models.
When using adaptative icons, launcher icons have 2 layers : foreground and background (see Creating adaptive icons in XML).
The shape (round, square...) can vary depending of the system / launcher settings.
Before Android 8.0
Legacy icons can be generated this way : Create a legacy launcher icon

Android App Icon not showing correctly on actionbar of different phones

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.

Android app shows default android icon in some devices

I upload an app in play store.Now i got a comment that it shows default android icon in some devices (galaxy s4,nexus 5 )instead of app icon.I placed app icon in drawable-ldpi,drawable-mdpi,drawable-hdpi,drawable-xhpdi and drawable-tvdpi. Default android icon is present outside resource folder as ic_launcher-web. While testing it showed the app icon itself in galaxy s4.But when it downloaded from play store it is showing default app icon.What I should do to correct this problem?
Since app icon has very little impact on the system performance, I recommend that you to put a 256*256 icon in the default /res/drawable/ resource folder.
I had the same problem and the issue was with app icon resource.
I had defined an adaptive icon in a mipmap-anydpi-v26 folder. Both for standard and round resources. For other devices I had standard launcher icon in respective mipmap-<density-qualifier>. And in AndroidManifest.xml
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
The default icon was displayed on Devices that had lower version of Android than 26 but launcher supported roundIcon. Cause this resource was not existing for this devices. Add ic_launcher_roundresource for all densities solved the problem
You need to put the app icon in drawable-xxhdpi and drawable-xxxhdpi too.
Reference: http://developer.android.com/design/style/iconography.html

Android application launcher icon has a black background

I saved an image in photoshop using save for web, 24 bit png, with transparency checked.
I then generated my icons using the Android Asset Studio.
My launcher icon has a black background on my device (Captivate), but does look fine on my emulator.
Any advice on how to get the icon to not have the black background on my device?
Thanks in advance!
Save it as a 32 bit png, that way you get the full 8-bit transparency.
Samsung TouchWiz is what's putting the icon backdrops on.

Application icon not transferred to Android device

I want to deploy my application with Android 2.1 features. I placed an application icon in PNG format in the drawable-ldpi,and drawable-hdpi folders. When I installed to the device, it is not showing the application icon on the home screen of the device.
Please help me how to solve this issue?
I ran into a problem like this before.
My app wasn't changing name and icon, even with everything changed in manifest and icons in drawable folders.
It seems like it had some sort of cache, which installed the same old config (although coding was changing).
Restarting the phone solved my problem.

Categories

Resources