mian.iyu
s id="2"
//图标id
s color="#009688"
//颜色
call(null, "mlua", "c.main", id, color)
lua.mlua
function main(id, color)
--图标着色
if type(id)=="number" then
id=i:gvs(id)
end
import "android.graphics.Color"
local color = Color:parseColor(tos(color))
id:setColorFilter(color)
end