logankoester / grunt-phonegap

A Grunt plugin to provide local build tasks for Phonegap applications
MIT License
173 stars 61 forks source link

9 patch image #118

Open olanod opened 10 years ago

olanod commented 10 years ago

Another issue with the splash screens ;)
I have a splash.9.png image specified in the config screens: android: mdpi: 'splash.9.png' which isnt stretched correctly because it gets copied without the .9 part of the name.

olanod commented 10 years ago

I see the splash.png name is hard coded, any clever way arround this?. Besides, does it have to be splash.png? where is it auto defined? because I've seen in the phonegap docs that the default is screen.png.
Could it be read from the config.xml in <preference name="SplashScreen" value="splash" /> and also detect if it's a 9 patch image?

standuprey commented 9 years ago

+1