I have simple png logo. I want to resize it in 24*24 mdpi,72*72 hdpi for android. can I do it with photoshop..? or please suggest the way to do it.
I had a similar problem. I wrote a Photoshop's plugin to create different copies of a source image.
You can get it and its source from GitHub, ic_launcher_exporter. If you like it, please remember to give it a star :). I hope this helps.
Not sure about photoshop but maybe this tool can help you: Android Asset Studio
Just search for "android app icon generator" or similar. You will find lots of websites allowing you to do it online.
Related
I've just finished creating a bunch of icons in Adobe Illustrator for my Android phone. My problem is now, how can I make an icon pack like those you can download from the Play Store? You might think that there must a lot tutorials for this purpose, but I don't seem to find them useful, and it confuses me more than it benefits.
Any help will be appreciated.
Thanks in advance.
Try this instrument (Icon generators allow you to quickly and easily generate icons from existing source images, clipart, or text.): https://romannurik.github.io/AndroidAssetStudio/
Firstly, whichever icon you go with you will need different resolutions of it such as ldpi, mdpi, hdpi, etc.. and that can be done in two ways,
Manually by making each image the correct size
Using a asset generator like Android Asset Studio https://romannurik.github.io/AndroidAssetStudio/index.html
In terms of creating the actual icon, you dont need any specific "Android Icon Tutorial". You can use any generic logo or icon tutorial and just create it in the correct size. Read this link for icon sizes:
https://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
Then you can simply watch and "logo" or "icon" tutorial and follow along. Then I would use Android Asset Studio to create all DPI's
And this one for other icons:
https://developer.android.com/guide/practices/ui_guidelines/icon_design.html
I remember seeing somewhere that there was some way, or some tool where you give it an image and it automatically scales and generates multiple images for different resolutions but I can't seem to find it.
Does anyone know what I'm describing and where to find it?
Found what I was looking for, Android Asset Studio.
http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-launcher.html
My device configuration is large-mdpi. But in my app, i have the images only for small-ldpi,normal-mdpi. Here how to findout the best match for this. i think i collects the images from the small-ldpi because our precedence contains small as first.please see this link. is it right? please can anybody help me.
thanks.
Don't put size qualifiers on your drawable folders. Just make drawable-ldpi and drawable-mdpi.
Edit: Maybe I answered too quickly. Do you actually have different images for small and large screens at the same density? In that case, my advice is to always have a folder with a more general qualification. It's kind of like default in a switch statement.
In your instance, I'd go with:
drawable-ldpi
drawable-mdpi
drawable-large-ldpi
Anybody know how to include and use own icons in an android eclipse project. I found out how to convert them from ico to png files but other than that, I cannot use them in my project, I am simply lost.
Please help :)
Drag and drop you png files to the mdpi folder.(For a medium density display)
You can access them simply by R.drawable.youiconname
Also refer to this article
I'm newer in android development. And after using eclipse about 1 month... i hate this. I've setup NetBeans IDE for android development. It's fast, it's looks like cool and i like it. But have one trouble. I cant find how to use drawable resources (just like R.drawable.icon) :( . Can anyone help me?
PS: sry 4 my english
Use the file browser on the left hand side in NetBeans to open
YourProjectName -> res -> drawable and you will find your drawable files here. Also, Android provides different drawable folders to support multiple screen sizes, i.e : drawable-hdpi, drawable-xhdpi, drawable-mdpi. These are great if you wish to support your app on multiple screen sizes and don't want to scale the images using code (it makes them look ugly). Then you can just place different sizes of the same drawable image in these folders and android will automatically figure out which one to use!
Your English is quite decent in comparison to some of the drivel people post here.
This is simpler with updated version of NBAndroid (including NBAndroid Extensions). See some comments at http://www.nbandroid.org/2013/04/tuning-hyperlink-navigation.html