Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show all drawable content in Android Studio

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?

enter image description here

like image 649
pligosv Avatar asked Feb 14 '17 08:02

pligosv


People also ask

How do I access a drawable?

Android SDK has all images unpacked in the %SDK-FOLDER%/platforms/android-*/data/res/drawable-* folder. Just pick desired file and put it into your app resource.

How do I get a list of images in a specific folder on Android?

You can use below code to get all images from specific folder. 1) First you need to define File object to get the storage and appened the name of the folder you want to read. File folder = new File(Environment. getExternalStorageDirectory().

Where is the drawable folder in Android Studio?

In Android Studio inside the res folder, one can find the drawable folder, layout folder, mipmap folder, values folder, etc. Among them, the drawable folder contains the different types of images used for the development of the application.

What is v24 in Android drawable?

Classic drawable resources such as images are stored in the drawable folder. In contrast, vector drawables are stored in drawable-v24 . For this project, keep the drawable default and click OK. You should now see the New File dialog box.


1 Answers

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.

enter image description here

like image 115
Levon Petrosyan Avatar answered Sep 29 '22 21:09

Levon Petrosyan