You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Sergey Shakhnazarov (Akvelon)" <v-...@microsoft.com> on 2015/12/28 20:46:06 UTC

CB-10222 Add scaletype preference for Android splashscreen

Hi guys,

I wanted to discuss the SplashScreen plugin PR for Android adding ability to customize splash image scale type[1] to avoid its cutting.

Proposed solution is to make this an Android-preference like this:
    <preference name="SplashScaleType" value="CENTER_CROP|CENTER_INSIDE" />

Is there any suggestions on implementation or objections?

[1]: https://github.com/apache/cordova-plugin-splashscreen/pull/52

Best regards,
Sergey Shakhnazarov.



AW: CB-10222 Add scaletype preference for Android splashscreen

Posted by Toplak Daniel <D....@cadenas.de>.
+1 for this.
This will be awesome, because we are using splashscreens which should not be cropped.

Daniel Toplak

> -----Ursprüngliche Nachricht-----
> Von: Sergey Shakhnazarov (Akvelon) [mailto:v-seshak@microsoft.com]
> Gesendet: Montag, 28. Dezember 2015 20:46
> An: dev@cordova.apache.org
> Betreff: CB-10222 Add scaletype preference for Android splashscreen
> 
> Hi guys,
> 
> I wanted to discuss the SplashScreen plugin PR for Android adding ability to
> customize splash image scale type[1] to avoid its cutting.
> 
> Proposed solution is to make this an Android-preference like this:
>     <preference name="SplashScaleType"
> value="CENTER_CROP|CENTER_INSIDE" />
> 
> Is there any suggestions on implementation or objections?
> 
> [1]: https://github.com/apache/cordova-plugin-splashscreen/pull/52
> 
> Best regards,
> Sergey Shakhnazarov.
> 


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