App icon height and width issue - android

I have been developing apps from the last 3 years, i have placed app icon of exact 72x72 and 48x48 into mdpi and hdpi folders
but still it does not cover the full width and height of the app icon on the screen,
any one guide me what could be the issue(see screenshot with white area around app icon)
any help would be appreciated.

the icon should be a png with transparency.
it looks like your icon has a white background.

Thank you for all helping me in this issue:
finally i resolved this issue myself:
actually my app icon was in resolutions 48x48 and 72x72 with transparent background but still it was showing white line around it.
looking into this issue in more detail i got to know that there was 2-3 pixel transparent gap in that icon around it and android was rendering it like a white background around it.
expanding image 100% left,right,top & bottom resolved my problem.

Related

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

Droid 9-patch Splash is black on some devices

I'm using a 9-patch to place a logo on the splash screen. This works on most test devices, as well as on simulators, but on one particular device – an SM-T230 – it shows up like this:
Image of splash screen where all space under the logo is turned black (Logo is deliberately blurred)
I created the 9-patch for all DPIs (LDPI, HDPI, ...).
It does appear to be scaling it; its size (in raw pixels) is about halfway between the size of the MDPI and HDPI images.
Any thoughts?
I believe I solved this by adding an extra pixel margin around the content of the image.

Android notification small icon zooms in in notification drawer

So I am generating an Android notification and setting the small icon property to an image that is 400x400 pixels. The image looks as it's supposed to in the notification bar (see below - it's the yellow circle with green/red outline thing).
The problem is that when you pull down the notification drawer, the image for the notification's small icon is zoomed in and doesn't look as it should (see image 2). I want it to be that exact same image as the icon in the notification drawer, too.
Does anyone know why this happens / how to make the original image be the actual small icon?? Please let me know :( thanks.
According the Guidelines :
Notification icons must be 24x24 dp.
400x400 px sounds a very big size, i use in some applications the launcher icons, even the xxhdpi (144x144) and xxxhdpi (192x192) will load with no problem.

Android icon is much smaller than other icons after using Android SDK tool?

Here is a image of my android icon for the app Contak (in red) compared to some other icons:
. My image was failing to upload to imgur, so sorry I couldn't embed.
My icon is a decent amount smaller than other icons and it bothers me somewhat. I saw other questions where people put wrong sized icons in the drawable folders, but I used the new built in SDK tool and put -10% on padding so it shouldn't have an error.
I also added:<supports-screens android:anyDensity="true"/> into my app. Any ideas what's up? Thanks in advance!
See Documentation on Iconography for details. I assume that the SDK tool left some padding around your icon.
Open the MDPI icon (which should be 48x48 px) and see if there is transparent pixels around. If yes, then you might want to enlarge the icon a bit to cover the whole 48x48 px.

Android Galaxy Tab : Why is the launch icon surrounded by a pink border?

I followed the icon design guidelines from android and so I have icon in different size:
drawable-hdpi (96x96)
drawable-hdpi (72x72)
drawable-ldpi (36x36)
drawable-mdpi (48x48)
But on the Samsung Galaxy Tab the icon gets a weird purple/pink-ish border. The Game 'Angry Birds' seems to have the same problem. Facebook was able to change it to blue. So what is this border and how can I remove it?
Screenshot
I've observed that the Tab picks some background color to use to frame your icon, even if the icon is rendered with a transparent background: the calendar has a dark frame, gmail has the same pinkish/purple color as Angry Birds, and my icons which have transparent backgrounds/no borders on the Nexus 1 have weird blue colors. In fact, ALL of the icons on the Tab have a background and border. I've had to conclude there is no way to get rid of it, and there is currently no published algorithm as to how it picks the color.
This answer from
user
#int ermedi_8
to question
Can Icon Border Be Eliminated In Android App?
seems to work on my Samsung device: I don't know whether it works on other brands. Of course it only helps for your own apps where you can put code into AndroidManifest.xml.
Quote:-
Though it is old, maybe it still helps someone:
Thanks to #deloreyk hint about TouchWiz i found this site where Josh Barton suggests to add a meta tag to your AndroidManifest.xml
<meta-data
android:name="com.samsung.android.icon_container.has_icon_container"
android:value="true"/>

Categories

Resources