Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Android 9-patch Splash screen

$
0
0

I'm trying to get a 9 patch image to be the standard splash screen for my android app. I have looked here and it says that the file must be named "default.9.png" and placed in the "Resources/android" folder. In alloy, that directory gets automatically overwritten by the contents in "app/assets/android folder". So I tried placing the file in the "app/assets/android" folder This does not work, and instead a blue generic appcelerator screen is shown.

However, when I rename the file to "default.png" It will use it as the splash screen, but it is stretched incorrectly as it is used like a normal png.

I have also tried placing "default.9.png" in the Resources/android folder as stated in the documentation, but that folder is automatically removed.

So the issue is, I can set a splash screen using "default.png" but I CANNOT use a 9png for the splash (default.9.png).

Any ideas?

Thanks!


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>