How to center and scale splash screen for logo

2 posts, 0 answers
  1. JohnVS
    JohnVS avatar
    76 posts
    Member since:
    Apr 2013

    Posted 24 Jul 2013 Link to this post

    This is not a support request but rather a description of what we did to solve an issue we had with Icenium Graphite, Android devices, and the splash screen 9 patch image.

    We couldn't find any good directions for how to create a splash screen that was only a logo image and not a button. We just wanted our logo centered on the screen (portrait and landscape) with no stretching or anything else going on. Every tutorial I found was on how to get a button to scale, but this obviously didn't help our situation at all. We finally created an instance of a Graphite sample project, which had an Icenium logo that worked as we desired, but there is no documentation on how to get it to work like that, and there's obviously no way (that I could tell) to get access to that image to analyze it.

    Finally, I went searching through the sample projects on Github and found the Icenium splash screen image they were using. It is located at:

    After downloading it, I just used the same pixel size that they used and copied the same line patterns they used. After doing this, our splash screen logo now appears centered in the screen and works without stretching on both portrait and landscape modes. I hope our frustration helps someone else!
  2. Paul
    Paul avatar
    1 posts
    Member since:
    Jan 2014

    Posted 20 Jan 2014 Link to this post

    Thank you!

    From this I learnt not to post black pixels in actual corner positions and that fixed it for me.

Back to Top