In this example, a resource folder is used:
In that folder are 5 folders with the same images of different sizes.
These are used by the xml.GetDrawable command.
There is an image for refresh.
I flipped each refresh image so that it looks like go back instead of refresh and saved it to the same folder with a new name. Same name in all 5 folders.
I then used the xml.GetDrawable command and referenced my new image.
I get this error: android.content.res.Resources$NotFoundException: Resource ID #0x0
I know I have the correct name for the new image without the extension the same as the command is used in the example with the original images.
Is there some other step I need to take to add a file to the resource folder?
Material Design 4 - Modifyable and advanced Menu
Note: You should use B4A 6.0 or above for this tutorial. With the ACToolBar(Light|Dark) object we can get access to the Menu object of the activity. This opens the possibility for modifyable menus and some other advanced menu features. Basics With the ToolBar.Menu property we have access to...
www.b4x.com
In that folder are 5 folders with the same images of different sizes.
These are used by the xml.GetDrawable command.
There is an image for refresh.
I flipped each refresh image so that it looks like go back instead of refresh and saved it to the same folder with a new name. Same name in all 5 folders.
I then used the xml.GetDrawable command and referenced my new image.
I get this error: android.content.res.Resources$NotFoundException: Resource ID #0x0
I know I have the correct name for the new image without the extension the same as the command is used in the example with the original images.
Is there some other step I need to take to add a file to the resource folder?