Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.26k stars 352 forks source link

Android version not handling background style correctly #351

Open hanyg opened 6 years ago

hanyg commented 6 years ago

Hello,

I have written an app that works perfectly well on iOS, but not on Android. The general style is black as a background and green is the foreground color used throughout the views. I simply get a white screen on the Android version, whereas I get the intended green on black layout on the iOS version.

Here is an extract of what I would expect to have working on both versions:

...

"templates": { "body": { "header": { "title": "xxxx", "style": { "background": "#0", "color": "#00ff00" } }, "style": { "background": "#0", "color": "#00ff00", "border": "none", "size": "20" }, "sections": [ { "items" ......

If I play around with the background, I can see the items. Although they are incorrect, I see them. Otherwise all I see is a total white background. On the iOS version I see exactly what is intended, black background and green foreground color.

Any help would be appreciated.

Thanks, Hany