title: PhoneGap Splash Screen, instruction not clear
body: <p>I recently decide to work on PhoneGap to write apps on multiple devices. Every time I try to use a plugin, it works after a lot of hours and hundreds and hundreds search on Google... and some time it not working at all for me. So I probably do not understand the basic knowledge of PhoneGap.</p>
  
  <p>Let's talk about a simple plugin, the Splash Screen plugin (<a href="https://github.com/apache/cordova-plugin-splashscreen" rel="nofollow">https://github.com/apache/cordova-plugin-splashscreen</a>).</p>
  
  <p>On the plugin instruction, I understand that I need to write those lines in config.xml:</p>
  
  <pre><code>&lt;preference name="SplashScreen" value="foo" /&gt;
  &lt;preference name="SplashScreenDelay" value="3000" /&gt;
  &lt;preference name="SplashMaintainAspectRatio" value="true|false" /&gt;
  &lt;preference name="SplashShowOnlyFirstTime" value="true|false" /&gt;
  </code></pre>
  
  <p>But if you read the instruction in a link found in the Android part (<a href="http://cordova.apache.org/docs/en/dev/config_ref/images.html" rel="nofollow">http://cordova.apache.org/docs/en/dev/config_ref/images.html</a>) I should write these lines in config.xml:</p>
  
  <pre><code>&lt;platform name="android"&gt;
      &lt;!-- you can use any density that exists in the Android project --&gt;
      &lt;splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi"/&gt;
      &lt;splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi"/&gt;
      &lt;splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi"/&gt;
      &lt;splash src="res/screen/android/splash-land-xhdpi.png" density="land-xhdpi"/&gt;
  
      &lt;splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi"/&gt;
      &lt;splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi"/&gt;
      &lt;splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi"/&gt;
      &lt;splash src="res/screen/android/splash-port-xhdpi.png" density="port-xhdpi"/&gt;
  &lt;/platform&gt;
  </code></pre>
  
  <p>I tried both instruction and it's not working. I found also other instruction on PhoneGap Build and I suppose to write these liens in the config.xml:</p>
  
  <pre><code>&lt;splash src="ldpi.png" platform="android" qualifier="ldpi" /&gt;
  &lt;splash src="mdpi.png" platform="android" qualifier="mdpi" /&gt;
  &lt;splash src="hdpi.png" platform="android" qualifier="hdpi" /&gt;
  &lt;splash src="xhdpi.png" platform="android" qualifier="xhdpi" /&gt;
  &lt;splash src="fr-xhdpi.png" platform="android" qualifier="fr-xhdpi" /&gt;
  &lt;splash src="portrait-xxhdpi.png" platform="android" qualifier="port-xxhdpi" /&gt;
  &lt;splash src="landscape-xxhdpi.png" platform="android" qualifier="land-xxhdpi" /&gt;
  </code></pre>
  
  <p>and to confuse me more, if I check the "default" config.xml that PhoneGap generates, I found these lines:</p>
  
  <pre><code>  &lt;gap:splash src="www/res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/&gt;
  </code></pre>
  
  <p>As you can see, sometime the source file starts with 'www' or 'res', sometime we have a that <code>&lt;splash&gt;</code> inside the <code>&lt;platform&gt;</code> element or platform is an attribute of <code>&lt;splash&gt;</code> element.<br>
  What is the difference between the <code>&lt;splash&gt;</code> and <code>&lt;gap:splash&gt;</code> element?</p>
  
  <p>I'm very confused with instructions found in the PhoneGap API, PhoneGap Build API and Plugin web page.</p>
  
  <p>I'm using PhoneGap 5.3.9 on a Mac. 
  I test my app using the Android PhoneGap app or using PhoneGap Build (cli-5.2.0).</p>