Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 1b6e7d6f8 -> 780893fd3


Add <splash> for Android


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/780893fd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/780893fd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/780893fd

Branch: refs/heads/master
Commit: 780893fd3055ade5fb91a0a898d8b724cc17151c
Parents: 1b6e7d6
Author: Andrew Grieve <[email protected]>
Authored: Wed Nov 26 22:10:41 2014 -0500
Committer: Andrew Grieve <[email protected]>
Committed: Wed Nov 26 22:10:41 2014 -0500

----------------------------------------------------------------------
 config.xml                               |  11 +++++++++++
 www/splashscreens/android-land-hdpi.png  | Bin 0 -> 218302 bytes
 www/splashscreens/android-land-xhdpi.png | Bin 0 -> 489604 bytes
 www/splashscreens/android-port-hdpi.png  | Bin 0 -> 222148 bytes
 www/splashscreens/android-port-xhdpi.png | Bin 0 -> 504508 bytes
 5 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/780893fd/config.xml
----------------------------------------------------------------------
diff --git a/config.xml b/config.xml
index bbb987f..ae531cc 100644
--- a/config.xml
+++ b/config.xml
@@ -43,4 +43,15 @@
     </platform>
     <preference name="iosPersistentFileLocation" value="Library" />
     <preference name="AndroidPersistentFileLocation" value="Internal" />
+    <platform name="android">
+        <splash src="www/splashscreens/android-port-hdpi.png" 
density="port-hdpi"/>
+        <splash src="www/splashscreens/android-port-xhdpi.png" 
density="port-xhdpi"/>
+        <splash src="www/splashscreens/android-land-hdpi.png" 
density="land-hdpi"/>
+        <splash src="www/splashscreens/android-land-xhdpi.png" 
density="land-xhdpi"/>
+        <preference name="SplashScreen" value="screen" />
+        <preference name="SplashScreenDelay" value="1000" />
+        <!-- The spinner shows only when SplashScreen is disabled. -->
+        <preference name="LoadingPageDialog" value="Loading,Main Page" />
+        <preference name="LoadingPage" value="Loading,Sub Page" />
+    </platform>
 </widget>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/780893fd/www/splashscreens/android-land-hdpi.png
----------------------------------------------------------------------
diff --git a/www/splashscreens/android-land-hdpi.png 
b/www/splashscreens/android-land-hdpi.png
new file mode 100644
index 0000000..a61e2b1
Binary files /dev/null and b/www/splashscreens/android-land-hdpi.png differ

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/780893fd/www/splashscreens/android-land-xhdpi.png
----------------------------------------------------------------------
diff --git a/www/splashscreens/android-land-xhdpi.png 
b/www/splashscreens/android-land-xhdpi.png
new file mode 100644
index 0000000..79f2f09
Binary files /dev/null and b/www/splashscreens/android-land-xhdpi.png differ

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/780893fd/www/splashscreens/android-port-hdpi.png
----------------------------------------------------------------------
diff --git a/www/splashscreens/android-port-hdpi.png 
b/www/splashscreens/android-port-hdpi.png
new file mode 100644
index 0000000..5d6a28a
Binary files /dev/null and b/www/splashscreens/android-port-hdpi.png differ

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/780893fd/www/splashscreens/android-port-xhdpi.png
----------------------------------------------------------------------
diff --git a/www/splashscreens/android-port-xhdpi.png 
b/www/splashscreens/android-port-xhdpi.png
new file mode 100644
index 0000000..c2e8042
Binary files /dev/null and b/www/splashscreens/android-port-xhdpi.png differ


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to