简体   繁体   中英

Custom Splash Screen size - Tabris-JS

I've searched around questions but I didn't find anything.

I'm new to Tabris-JS framework , is very powerful and simple but I have some issue with the Splash Screen.

As mentioned in this commit , in Tabris-JS 2.x there are two theme options: one light theme , and the other dark theme . But they both have margin around the image.

The result is this (behind the image there is the 'dark gray' background):

在此处输入图片说明

I try to search for the correct Activity that is responsable for the Launcher, but I'm not good in Java.

PS: Splash Screen images are all correctly generated, with online tools for all screen sizes.

Per the Tabris.js issue tracker , the solution is to theme the android app with a color background on splash, and assume that the splash screen image will be centered.

Since iOS has a more finite number of resolutions this shouldn't be an issue and the regular Cordova splash screen configuration applies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM