You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/09/13 20:10:59 UTC

[15/17] docs commit: rewrite platform-specific icon/splash content

rewrite platform-specific icon/splash content


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/5c7fc601
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/5c7fc601
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/5c7fc601

Branch: refs/heads/master
Commit: 5c7fc6015b66ae9db97f2b7a4f9828d0dba43d5f
Parents: 49b93d2
Author: Mike Sierra <ms...@adobe.com>
Authored: Thu Sep 12 18:19:45 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Fri Sep 13 11:10:31 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/platforms/android/config.md  | 19 ++++-----
 .../edge/guide/platforms/blackberry10/config.md | 13 +++---
 docs/en/edge/guide/platforms/ios/config.md      | 44 ++++++++++----------
 3 files changed, 36 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/5c7fc601/docs/en/edge/guide/platforms/android/config.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/android/config.md b/docs/en/edge/guide/platforms/android/config.md
index a70bb49..ebf96bf 100644
--- a/docs/en/edge/guide/platforms/android/config.md
+++ b/docs/en/edge/guide/platforms/android/config.md
@@ -26,20 +26,19 @@ config.xml File for information about global configuration options.
 
 ## Icons and Splash Screens
 
-We support ldpi, mdpi, hdpi, and xhdpi displays; the following will
-define icons for each specific screen type.
+Cordova supports images for _ldpi_, _mdpi_, _hdpi_, and _xhdpi_
+displays. The following defines icons for each type of screen:
 
-        <icon src="icons/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
-        <icon src="icons/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
-        <icon src="icons/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
+        <icon src="icons/android/ldpi.png"  gap:platform="android" gap:density="ldpi"  />
+        <icon src="icons/android/mdpi.png"  gap:platform="android" gap:density="mdpi"  />
+        <icon src="icons/android/hdpi.png"  gap:platform="android" gap:density="hdpi"  />
         <icon src="icons/android/xhdpi.png" gap:platform="android" gap:density="xhdpi" />
 
-We support ldpi, mdpi, hdpi and xhdpi displays; the following will
-define splash screens for each specific screen type.
+The following defines splash screens for each screen type:
 
-        <gap:splash src="splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
-        <gap:splash src="splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
-        <gap:splash src="splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
+        <gap:splash src="splash/android/ldpi.png"  gap:platform="android" gap:density="ldpi"  />
+        <gap:splash src="splash/android/mdpi.png"  gap:platform="android" gap:density="mdpi"  />
+        <gap:splash src="splash/android/hdpi.png"  gap:platform="android" gap:density="hdpi"  />
         <gap:splash src="splash/android/xhdpi.png" gap:platform="android" gap:density="xhdpi" />
 
 ## Android Preferences

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/5c7fc601/docs/en/edge/guide/platforms/blackberry10/config.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/blackberry10/config.md b/docs/en/edge/guide/platforms/blackberry10/config.md
index 1db8262..5bb4d87 100644
--- a/docs/en/edge/guide/platforms/blackberry10/config.md
+++ b/docs/en/edge/guide/platforms/blackberry10/config.md
@@ -26,16 +26,15 @@ config.xml File for information about global configuration options.
 
 ## Icons and Splash Screens
 
-BlackBerry icons __must be smaller__ then 16kb. BlackBerry also
-defines an optional hover state; this state allows for a separate icon
-to be displayed when a user uses the trackpad to roll over your icon
-image. By default the non-hover icon will be used as the hover state.
+BlackBerry icons __must be smaller__ than 16K. BlackBerry also defines
+an optional hover state that allows a separate icon to display when
+users roll a trackpad cursor over the icon image. By default, the
+non-hover icon displays for the hover state. Define icons as follows:
 
-        <icon src="icons/bb/icon.png" gap:platform="blackberry" />
+        <icon src="icons/bb/icon.png"       gap:platform="blackberry" />
         <icon src="icons/bb/icon_hover.png" gap:platform="blackberry" gap:state="hover"/>
 
-
-BlackBerry supports a single splash image and can be defined as below.
+BlackBerry supports a single splash screen image:
 
         <gap:splash src="splash/bb/splash.png" gap:platform="blackberry" />
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/5c7fc601/docs/en/edge/guide/platforms/ios/config.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ios/config.md b/docs/en/edge/guide/platforms/ios/config.md
index 300f544..259447e 100644
--- a/docs/en/edge/guide/platforms/ios/config.md
+++ b/docs/en/edge/guide/platforms/ios/config.md
@@ -26,32 +26,30 @@ File for information about global configuration options.
 
 ## Icons and Splash Screens
 
-We support classic, retina, iPad displays (and retina iPad displays in
-PhoneGap 2.5.0+). The following will define icons for each specific
-screen type.
-
-        <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" />
-        <icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
-        <icon src="icons/ios/icon_at_2x.png" gap:platform="ios" width="114" height="114" />
-
-	<!-- retina iPad support: PhoneGap 2.5.0+ only -->
+Cordova supports icons for _classic_, _retina_, _iPad_, and _retina
+iPad_ displays (the latter as of Cordova 2.5). The following defines
+icons for each type of screen:
+
+        <icon src="icons/ios/icon.png"          gap:platform="ios" width="57"  height="57"  />
+        <icon src="icons/ios/icon-72.png"       gap:platform="ios" width="72"  height="72"  />
+        <icon src="icons/ios/icon_at_2x.png"    gap:platform="ios" width="114" height="114" />
+        <!-- retina iPad -->
 	<icon src="icons/ios/icon-72_at_2x.png" gap:platform="ios" width="144" height="144" />
 
-We support classic, retina, iPhone 5 and iPad displays; the following
-will define splash screens for each of those. Standard iPads have two
-different splash screens, portrait, landscape. Retina iPads have two
-additional splash screens, retina portrait and retina landscape
-(PhoneGap 2.5.0+ only).
-
-        <gap:splash src="splash/ios/Default.png" gap:platform="ios" width="320" height="480" />
-        <gap:splash src="splash/ios/Default_at_2x.png" gap:platform="ios" width="640" height="960" />
-        <gap:splash src="splash/ios/Default_iphone5.png" gap:platform="ios" width="640" height="1136" />
-        <gap:splash src="splash/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="748" />
-        <gap:splash src="splash/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1004" />
-
-	<!-- retina iPad support: PhoneGap 2.5.0+ only -->
+Cordova supports splash screens for _classic_, _retina_, _iPhone 5_,
+and _iPad_ displays. Standard iPads have two different splash screens
+for portrait and landscape orientation. Retina iPads have two
+additional splash screens: retina portrait and retina landscape. The
+following defines splash screens for each type of screen:
+
+        <gap:splash src="splash/ios/Default.png"                 gap:platform="ios" width="320"  height="480"  />
+        <gap:splash src="splash/ios/Default_at_2x.png"           gap:platform="ios" width="640"  height="960"  />
+        <gap:splash src="splash/ios/Default_iphone5.png"         gap:platform="ios" width="640"  height="1136" />
+        <gap:splash src="splash/ios/Default-Landscape.png"       gap:platform="ios" width="1024" height="748"  />
+        <gap:splash src="splash/ios/Default-Portrait.png"        gap:platform="ios" width="768"  height="1004" />
+        <!-- retina iPad -->
         <gap:splash src="splash/ios/Default-Landscape_at_2x.png" gap:platform="ios" width="2048" height="1496" />
-        <gap:splash src="splash/ios/Default-Portrait_at_2x.png" gap:platform="ios" width="1536" height="2008" />
+        <gap:splash src="splash/ios/Default-Portrait_at_2x.png"  gap:platform="ios" width="1536" height="2008" />
 
 ## iOS Preferences