You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/09/29 21:02:41 UTC
git commit: Properly formatted splashscreen preference docs.
Repository: cordova-plugin-splashscreen
Updated Branches:
refs/heads/master ec7c6aac3 -> e1f17d666
Properly formatted splashscreen preference docs.
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/e1f17d66
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/e1f17d66
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/e1f17d66
Branch: refs/heads/master
Commit: e1f17d6665877a116cc25cb166ebfeefb96e9e5e
Parents: ec7c6aa
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Sep 29 12:03:01 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Sep 29 12:03:01 2014 -0700
----------------------------------------------------------------------
doc/index.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/e1f17d66/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index d6d6b8c..c3070cc 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -45,8 +45,8 @@ 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="SplashScreen" value="foo" />
+ <preference name="SplashScreenDelay" value="10000" />
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)
for more information.