How to change the default app icon shape in Android Studio

I recently started using Android Studio and I found that unlike Eclipse, unlike Eclipse, Android Studio does not provide any way to select the application icon, shape and size when creating a new application. When finishing developing my application, I tried to change the default "ic_launcher.png" with my own image, but I cannot change its shape (square by default) to circular.

So my question is, is there a way to change the shape of an app icon in Android Studio? And if this issue has already been resolved in some other thread, please share this link with me. (PS- I tried looking for a similar question here, but couldn't find a likely solution, so I posted this question myself)

+3


source to share


2 answers


Just add new icons to the entire available folder and update the icon name in the manifest file.

To change the shape of an icon, the following tool can be helpful:



http://romannurik.github.io/AndroidAssetStudio/

+7


source


Sorry for the late reply in the first place. Here's my answer:

When launching Android Studio 1 RC in the beta channel, they didn't add this feature of adding image objects to the app directly from Android Studio. But since Android Studio 1.1 , this feature is available for use. This is how you get different icons:

  • Click res in the app section of your project.
  • New -> Image Object
  • Select the asset type (launcher icon action bar icon and icon tabs).
  • Select an image from the catalog and make any other necessary changes to get the desired icon.
  • Click then and then select Enter module and directory "Res" and click "Finish".


You will see your icons in the res folder .

I hope this was helpful, thanks!

+2


source







All Articles