Skip to content

Commit 7cb3187

Browse files
Mawi137stevengill
authored andcommitted
Update readme
This closes #116
1 parent c2c3a98 commit 7cb3187

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ In your `config.xml`, you can add the following preferences:
436436
```xml
437437
<preference name="SplashMaintainAspectRatio" value="true|false" />
438438
<preference name="SplashShowOnlyFirstTime" value="true|false" />
439+
<preference name="SplashScreenSpinnerColor" value="white" />
439440
```
440441

441442
"SplashMaintainAspectRatio" preference is optional. If set to true, splash screen drawable is not stretched to fit screen, but instead simply "covers" the screen, like CSS "background-size:cover". This is very useful when splash screen images cannot be distorted in any way, for example when they contain scenery or text. This setting works best with images that have large margins (safe areas) that can be safely cropped on screens with different aspect ratios.
@@ -444,6 +445,8 @@ The plugin reloads splash drawable whenever orientation changes, so you can spec
444445

445446
"SplashShowOnlyFirstTime" preference is also optional and defaults to `true`. When set to `true` splash screen will only appear on application launch. However, if you plan to use `navigator.app.exitApp()` to close application and force splash screen appear on next launch, you should set this property to `false` (this also applies to closing the App with Back button).
446447

448+
"SplashScreenSpinnerColor" preference is also optional and is ignored when not set. Setting it to a valid color name or HEX color code will change the color of the spinner on Android 5.0+ devices.
449+
447450
### Browser Quirks
448451

449452
You can use the following preferences in your `config.xml`:

0 commit comments

Comments
 (0)