I am trying to display a gradient background as my app background . The problem is that I created this background in css and I cannot use css and corona . So I tried to put the html.html file in my app directory and display the background from there , but it isn’t working for me .
Can someone help me ?
main.lua(nothing in it.) :
appglobals.lua :
-- appglobals.lua local M = {}; local appGlobals = {}; local getGlobals = function() return appGlobals; end return M; local appglobals = require("appglobals"); local g = appglobals.getGlobals(); -- for display objects g.someImage = display.newImage("html"); -- for data g.someData = 1234;