ChemDev
ChemDev

Reputation: 837

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?

Upvotes: 4

Views: 1781

Answers (1)

jesses.co.tt
jesses.co.tt

Reputation: 2729

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.

Upvotes: 3

Related Questions