Reputation: 663
In my project I have got a lot of drawable content, and when I need to add new images to drawable I can put a same resource because I forget I have it already.
It is not about preview on XML file, this works well.
Any features in Android Studio to preview all my drawable contents without double-click on every resource? It can save lots of time.
I didn't find anything at Preferences, maybe some plugin or did I miss something?
Upvotes: 20
Views: 8481
Reputation: 9625
Starting from Android Studio 3.4, you can use Resource Manager, a new tool window for importing, creating, managing, and applying resources to your app's layouts. You can open the tool window by selecting
View > Tool Windows > Resource Manager from the menu bar.
Upvotes: 25
Reputation: 252
Note/ when using 'Show Image Thumbnails' (as @Akhil Tawari suggested) in "Android" view as opposed to "Project" view, for image thumbnails of all drawables right click the "res" folder and not the drawables folder/s.
Upvotes: 0
Reputation: 264
Right click on drawable folder and click 'Show Image Thumbnails'.
Upvotes: 8
Reputation: 6736
Consider using Android Drawable Preview plugin. It shows content of the images instead of default icons when you expand drawables.
It even renders vector xml drawables!
Like this:
To install it: go to File > Settings > Plugins > search for Android Drawable Preview and click to find in repos. Install it and restart Android Studio.
Cheers!
Upvotes: 3
Reputation: 2643
I'm using Android Drawable Viewer
that can be installed from Plugins
in AndroidStudio
. After installing and restarting Android Studio
, you will find a tab on the right side of the editor where you can find the viewer.
Click on that tab and you'll be asked to select the root folder for drawables. Do it, and after, everything will look like this:
Upvotes: 4
Reputation: 190
You can right click on the folder and click open in files. This will allow you to open up the project folder in which you can more easily add and delete images and other files.
Upvotes: -1