You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/10/05 23:22:23 UTC
cordova-plugin-splashscreen git commit: CB-9749 documentation is
wrong - default SplashScreenDelay
Repository: cordova-plugin-splashscreen
Updated Branches:
refs/heads/master 9bd0ec709 -> 9a69f12ad
CB-9749 documentation is wrong - default SplashScreenDelay
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/9a69f12a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/9a69f12a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/9a69f12a
Branch: refs/heads/master
Commit: 9a69f12adaa307940ac424c46b413697376205a8
Parents: 9bd0ec7
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon Oct 5 14:16:30 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon Oct 5 14:16:30 2015 -0700
----------------------------------------------------------------------
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/9a69f12a/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index defc533..9d28201 100644
--- a/README.md
+++ b/README.md
@@ -52,9 +52,9 @@ This plugin displays and hides a splash screen during application launch.
<preference name="AutoHideSplashScreen" value="true" />
-- __SplashScreenDelay__ (number, default to 10000). Amount of time in milliseconds to wait before automatically hide splash screen.
+- __SplashScreenDelay__ (number, default to 3000). Amount of time in milliseconds to wait before automatically hide splash screen.
- <preference name="SplashScreenDelay" value="resourcename" />
+ <preference name="SplashScreenDelay" value="3000" />
### Android Quirks
@@ -62,7 +62,7 @@ This plugin displays and hides a splash screen during application launch.
In your `config.xml`, you need to add the following preferences:
<preference name="SplashScreen" value="foo" />
- <preference name="SplashScreenDelay" value="10000" />
+ <preference name="SplashScreenDelay" value="3000" />
<preference name="SplashMaintainAspectRatio" value="true|false" />
Where foo is the name of the splashscreen file, preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders. The second parameter represents how long the splashscreen will appear in milliseconds. It defaults to 3000 ms. See [Icons and Splash Screens](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html)
@@ -78,7 +78,7 @@ You can use the following preferences in your `config.xml`:
<platform name="browser">
<preference name="SplashScreen" value="images/browser/splashscreen.jpg" /> <!-- defaults to "img/logo.png" -->
- <preference name="SplashScreenDelay" value="10000" /> <!-- defaults to "3000" -->
+ <preference name="SplashScreenDelay" value="3000" /> <!-- defaults to "3000" -->
<preference name="SplashScreenBackgroundColor" value="green" /> <!-- defaults to "#464646" -->
<preference name="ShowSplashScreen" value="false" /> <!-- defaults to "true" -->
<preference name="SplashScreenWidth" value="600" /> <!-- defaults to "170" -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org