Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Development - Resizing images into drawable folders

Is there a way to get Eclipse to automatically re-size images and put them in the appropriate drawable folders? When you add an image for the icon when you first create an Android project, it automatically re-sizes the icon and puts them in the appropriate folders. I know you're meant to scale images using a 3:4:6:8 scaling ratio (http://developer.android.com/guide/practices/screens_support.html). I'm wondering if there is a way that Eclipse does this automatically for images?

like image 277
Michael Avatar asked Oct 20 '22 23:10

Michael


1 Answers

For re-size icons, right click select New/Other… or press Ctrl+N, select Android Icon Set, the default name for icons is ic_launcher, click Next, in Foreground select Image and Browser that image like to put as icon and is re-sized automatically

like image 130
user3123409 Avatar answered Oct 29 '22 00:10

user3123409