Working with icons in Android Studio

How can I make 5 icons for all the DPI of the screen from one icon? For example, I drew some element for the project in the maximum resolution for xxxhdpi. Is there any standard tools in Android Studio to make this element the rest of the resolution for all screens? Or maybe a plugin of some kind, if there are no standard methods.

Author: Gregory Bass, 2015-12-28

2 answers

You need to do the following steps in Android Studio:

  1. Find the folder res and right-click on it
  2. Select New -> Image Assett
  3. Specify the path to the icon in Image Path and configure additional parameters as desired
  4. Press Next and Finish

After that, you will have folders in the project mipmap-xxx for each resolution, which will contain your icons.

 7
Author: temq, 2015-12-28 19:44:16

Yes, there is a good plugin:

enter a description of the image here You can also generate it on the site. Or here here

 7
Author: Alexey Shtanko, 2015-12-28 19:44:33