How and where to add image by Android Studio?

Asked

Viewed 20,804 times

2

Which folder to put the images I want to add to my app? In drawable?

And how to add via Android Studio?

1 answer

4


Using the Android Studio 1.5:

  • Right-click on res, new Image Asset
  • In the Type of Resource, choosing Action Toolbar and Tab Icons
  • Choose the Way and name your image
  • Click on Next
  • Click on Conclude

Using the Android Studio 2.2 or higher:

  • Right-click on res, new Image Asset
  • In the Type of icon, choosing Action Toolbar and Tab Icons
  • In the Type of resource, select Imagery
  • Choose the Way and name your image
  • Click on Next
  • Click on Conclude

The image will be saved in the folder /res/drawable

Browser other questions tagged

You are not signed in. Login or sign up in order to post.