cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/3] cordova-plugin-splashscreen git commit: Update readme
Date Wed, 18 Oct 2017 21:22:43 GMT
Update readme

 This closes #116


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/7cb31872
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/7cb31872
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/7cb31872

Branch: refs/heads/master
Commit: 7cb318727bf68fe957796629484ab7230b5fb74a
Parents: c2c3a98
Author: MartijnW49 <willekensm@gmail.com>
Authored: Fri Sep 22 18:23:14 2017 +0200
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Wed Oct 18 14:21:52 2017 -0700

----------------------------------------------------------------------
 README.md | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/7cb31872/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index bcde930..86df319 100644
--- a/README.md
+++ b/README.md
@@ -436,6 +436,7 @@ In your `config.xml`, you can add the following preferences:
 ```xml
 <preference name="SplashMaintainAspectRatio" value="true|false" />
 <preference name="SplashShowOnlyFirstTime" value="true|false" />
+<preference name="SplashScreenSpinnerColor" value="white" />
 ```
 
 "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
 
 "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).
 
+"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.
+
 ### Browser Quirks
 
 You can use the following preferences in your `config.xml`:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message