Android: My 48x48 Launcher Icon looks smaller when compared to others - android

I have designed a launcher icon 48x48 pixels and placed it in my res/drawable folder. When I install the application, the icon in the application menu seems to be smaller and it is wrapped in a box by default. Did I do something wrong? Any help is appreciated.

48x48 should be for a mdpi screen. What device are you displaying it on? Also, is it saved as a transparent PNG or a JPEG?

Related

Blurry Launcher Icons

I am trying to add a launcher icon to my Android application, but something seems wrong with resolution whan app is installed. The device I'm working with has an XHDPI screen, so I am testing with a 96x96 (px) image. I used the Image Asset in Android Studio to generate a default icon:
This is the result in my device:
You can notice that the image is a bit blurry, as it has been resized. It happens with every icon I make. What is happening? I am using MIUI, altough it doesn't appears to affect to the other icons.
EDIT: My launcher icon is inside the mipmap folder.
Remove Your file from mipmap-anydp-v26 folder..
it might work for you like me
Place your launcher icons in the mipmap folders instead of drawable. Some phones scale launcher icons up. Putting you launch icons in mipmap folders will have the phone use a large resolution icon if needed.
mipmap vs drawable folders
If it is a PNG file try using a vector image

Why Android Launcher picks a low-density icon?

I've created 2 kinds of launcher icons:
mipmap-mdpi (48x48)
mipmap-hdpi (72x72)
Now I'm checking out what kind of icon Lollipop's Launcher chooses. And it chooses the mdpi icon, and then stretches the icon up to 60x60px:
Demo:
The question is:
Why the Launcher picks mdpi instead of hdpi?
By default it takes the lower size icon.
So, if you want to use large pixel icon then give some different name.
for exp:
Use two icons of different size and give same name and put it to any extension folder like mdpi,ldpi,hdpi,xhdpi or xxhdpi. It will always prefer smallest size.
The launcher sometimes picks the mdpi icon instead of hdpi icon because of the custom theme applied on the device, or because of the custom launcher.
if you are using the default launcher by your device brand you can use some other custom launcher you will definitely be shocked to see the results

What is the right size for vector drawable icons?

What is the correct size to choose for Vector Drawable icons e.g. when importing them from SVG?
There is a lot of information about standard icon dimensions for raster icons, for example this site. However, I'm a little bit struggling to get icons imported from SVG appear normally, I'm basically determining them by trial and error.
Particularly interested in launcher and notification icon sizes. I've currently settled on 192x192 for launcher icons and 48x48 for notification icons.
Using a smaller size for launcher icons results in a blurred icon on my KitKat tablet and using a larger size looks bad as well.
But the notification icon still appears larger than in other apps so it should probably be something like 32x32.
You choose what is the best, what it depends on is the version of Android, the default is 24x24 dp

Android menu icon smaller in honeycomb

I've created a menu icon and included a 36x36, 48x48 and 72x72 in the ldpi, mdpi and hdpi drawable folders. It looks fine on all devices except honeycomb tablets, where it seems like the padding around the Android icons are bigger than on my custom icon. I've included a screenshot (see how much bigger my 'Resume Reading' icon is than the android 'Back' and 'My Library' icons are). How do I make my icon look like this?
I think I found the problem. When using the Android resource icon's on a tablet, I think it changes the padding in order for the icon to be used in the action bar. So when displaying them in a pop up menu at the bottom they are appearing much smaller than they should be. The solution is to copy the android resources into our own resource folder as it says to do here http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html
Most of your Tablets are not hdpi, they are xhdpi. While the Icon Design Guidelines are useful, they don't give the whole story. Consider reading Supporting Multiple Screens. Here, they tell you further ratios and dimensions. To save you some time, resources should be 3ldpi:4mdpi:6hdpi:8xhdpi meaning that your xhdpi icon should be 96 x 96. Please, read the whole document, though. It is insanely useful.

Top Left Corner Icon Android

I'm wondering if it is possible to make my own personal icon for when my app is running? I don't really want to worry about adding it to the notification scroll down menu. I just want the picture in the top left corner. Any help on how to go about doing this would be appreciated. Thanks
Actually it is possible to change the icon in the top left corner. You have to change the ic_launcher png file (in res/drawable). Don't forget to change it in the hdpi, mdpi and ldpi folder.
for mdpi it should be 100X100
for hdpi it should be 150:150
for ldpi it should be 75:75
Android screen sizes in Pixels for ldpi, mdpi, hpdi?
This is not possible. If you are going to have a Notification, you must have it in the notification drawer as well.

Categories

Resources