cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Romanelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10702) Android SplashMaintainAspectRatio not work
Date Thu, 25 Feb 2016 22:23:18 GMT
Matteo Romanelli created CB-10702:
-------------------------------------

             Summary: Android SplashMaintainAspectRatio not work
                 Key: CB-10702
                 URL: https://issues.apache.org/jira/browse/CB-10702
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen
            Reporter: Matteo Romanelli
            Priority: Minor


The splash screen is loaded and the delay work well but it is deformed.

I'm using 
apache cordova: 4.3.0
splashscreen plugin version: 3.2.1-dev
visual studio community 2015
android 5.1.1 and others

i have tried this 2 configurations:

FIRST: all the preference out

  <preference name="SplashScreen" value="screen" />
  <preference name="SplashScreenDelay" value="3000" />
  <preference name="SplashMaintainAspectRatio" value="true" />
  <preference name="SplashShowOnlyFirstTime" value="false" />
 <platform name="android">
    <splash src="res/screens/android/s-hdpi-l.png" density="land-hdpi" />
    <splash src="res/screens/android/s-ldpi-l.png" density="land-ldpi" />
    <splash src="res/screens/android/s-mdpi-l.png" density="land-mdpi" />
    <splash src="res/screens/android/s-xhdpi-l.png" density="land-xhdpi" />
    <splash src="res/screens/android/s-hdpi-p.png" density="port-hdpi" />
    <splash src="res/screens/android/s-ldpi-p.png" density="port-ldpi" />
    <splash src="res/screens/android/s-mdpi-p.png" density="port-mdpi" />
    <splash src="res/screens/android/s-xhdpi-p.png" density="port-xhdpi" />
  </platform>

SECOND: specific reference in

  <preference name="SplashScreen" value="screen" />
  <preference name="SplashScreenDelay" value="3000" />
 <platform name="android">
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <splash src="res/screens/android/s-hdpi-l.png" density="land-hdpi" />
    <splash src="res/screens/android/s-ldpi-l.png" density="land-ldpi" />
    <splash src="res/screens/android/s-mdpi-l.png" density="land-mdpi" />
    <splash src="res/screens/android/s-xhdpi-l.png" density="land-xhdpi" />
    <splash src="res/screens/android/s-hdpi-p.png" density="port-hdpi" />
    <splash src="res/screens/android/s-ldpi-p.png" density="port-ldpi" />
    <splash src="res/screens/android/s-mdpi-p.png" density="port-mdpi" />
    <splash src="res/screens/android/s-xhdpi-p.png" density="port-xhdpi" />
  </platform>





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message