Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resource Folders in Android Studio Not visible

I added several sub directories in the res folder to hold various media resources for my android app in android studio. The folders do not show up in the IDE and are not committed as part of the project using git.

The folders were added to the project both in Finder and in Android Studio via New Directory and through Finder as well. The folders do show up in Finder.

How do I properly add these folder to my project?

like image 424
ChemDev Avatar asked Sep 16 '25 13:09

ChemDev


1 Answers

Android assets/resources can not handle subdirectories deeper than the standard density-dependent folders.

You have to keep them all in the same folder, and organize them by naming convention (such as screenname_type_function aka settings_btn_logout for example).

Annoying, especially as iOS handles this great.

like image 189
jesses.co.tt Avatar answered Sep 19 '25 05:09

jesses.co.tt