I can save all my images directly in the res/drawable-xxx
folder.
But how can I import/copy
images to my project from Android Studio
?
If I drag an drop my images from the Finder
(MacOS), the files only move to the res
folder.
At in the context-menu
there is no Import...
and under New...
there is also not.
To import image resources into your project, do the following: Drag and drop your images directly onto the Resource Manager window in Android Studio. Alternatively, you can click the plus icon (+), choose Import Drawables, as shown in figure 3, and then select the files and folders that you want to import.
Select layouts , right-click and select New → Folder → Res Folder. This resource folder will represent a “feature category” that you want. You can easily create any type of file/folder in Android Studio. If you have N vertical features, you need to create N folders.
Go to your image in windows, then press ctrl + c OR Right click and Copy
Go to Your res Folder And choose One of the folders(eg. MDPI, HDPI..) and press ctrl + v OR right click it and Paste
Goto Settings > Plugin > Browse Repository > Serach Android Drawable Import
This plugin consists of 4 main features.
Edit : After Android Studios 1.5 android support Vector Asset Studio.
Follow this, which says:
To start Vector Asset Studio:
- In Android Studio, open an Android app project.
- In the Project window, select the Android view.
- Right-click the res folder and select New > Vector Asset.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With