Resource folders in Android Studio Not visible

I have added several subdirectories in res folder to store various media assets for my android app in android studio. The folders are not displayed in the IDE and are not executed as part of a project using git.

The folders have been added to the project in both Finder and Android Studio via New Directory

and via Finder. The folders are displayed in the Finder.

How do I add this folder to my project correctly?

+3


source to share


1 answer


Android assets / resources cannot handle subdirectories deeper than standard density dependent folders.

You should keep them all in the same folder and organize them by naming convention (e.g. screenname_type_function aka settings_btn_logout for example).



Annoying, especially since iOS does this wonderful thing.

+2


source







All Articles