I want to organize my drawable folder by adding extra directories to keep images that should be grouped together all in one place. However, I can only seem to use an image if it is directly located inside the drawable folder.
For example, this works if nfc_frame_1.png is directly in the drawable folder.
var instructionAnimation = new Image
{
Source = ImageSource.FromFile("nfc_frame_1.png")
};
but if I create an "animations" directory, then an "nfc" directory, and place the image in there, this reference seems to not work:
var instructionAnimation = new Image
{
Source = ImageSource.FromFile("animations/nfc/nfc_frame_1.png")
};
I've tried with back slashes, forward slashes, referencing the image just by name even though it's inside those directories..nothing seems to work. Any ideas?