Creating a useful 9-patch png for Android

Dirk Hohndel dirk at hohndel.org
Tue Dec 29 16:28:15 PST 2015


> On Dec 29, 2015, at 3:30 PM, Rick Walsh <rickmwalsh at gmail.com> wrote:
> 
> Miika, Dirk,
> 
> I worked out how to create a useful 9-patch png for Android.  So as not to waste more of anyone's time next time we want to do it again, here's how I did it.

That is just awesome. Thanks for providing all this detail!

[lots of great stuff skipped for brevity]

> 
> The padding doesn't have to be at the bounds of the image.  For example, I made an alternate splash screen with the text Subsurface-Mobile at the base, and with padding between the logo and the text.  This means the text will always be a the base of screen.  If you prefer this, I can send a patch with updated splash screens.  Or if you want a different background colour.

I really like those. Black background is cool. But I think I consistently used Subsurface-mobile -- could you keep that capitalization? 

Again, thanks for all your work on this!

/D



More information about the subsurface mailing list