On Android, you have within the res
directory several subdirectories, apparently separated for better organization. Sometimes when you want to put a new audio, for example to touch, different from the standards of the device, it is advisable to put it in a folder called raw
.
Why should I keep audio and video files inside the raw
folder? Is there any special treatment so we have to keep them within this directory? Is there any consequence or loss of performance when putting an audio file inside the drawable
directory?