I would like to resize an image to fill a layout. According to this post: (SOLVED)Background image is not covering full screen on android device in coco2dx v3.3 you must scale the image. But from what I can tell the layout class does not have a method to access the background image. So I would have to load the image a second time and then scale it and then add it to the layout. The layout also has a method for getting the background texture size but not setting.
Is there a more direct way to edit the background image size?
Thanks!