I'm trying to categories project images in different folders in res/drawable/
folder but though on create new directory it does create new directory in project but it isn't visible and it also gives error on trying to build the project.
Asked
Active
Viewed 72 times
0

Prashant Abdare
- 2,175
- 14
- 24
-
**`Android accepts only .png, .jpg, .gif and .xml files as drawable resources. `** – AskNilesh Apr 11 '18 at 09:34
-
that's how google done it. There is nothing more to say about it. You can ask **them** why **they** did it. – Vladyslav Matviienko Apr 11 '18 at 09:35
-
So where should I categories images if I want so? – Prashant Abdare Apr 11 '18 at 09:35
-
See this question by [paresh mayani](https://stackoverflow.com/q/4930398/996493) – Lucifer Apr 11 '18 at 09:37
-
@Prashant check this also https://stackoverflow.com/questions/46192545/how-to-put-new-placeholder-resources-into-android-studio-project-toolssample/46193419#46193419 – AskNilesh Apr 11 '18 at 09:38
-
1Also check this [link](https://medium.com/mindorks/how-to-put-android-layout-files-in-subfolders-1f7cf07ff48f) – Lucifer Apr 11 '18 at 09:39
-
@Lucifer that was useful link, thanks. – Prashant Abdare Apr 11 '18 at 09:47