Translate

Saturday, September 3, 2011

Android 9 patch padding and layout padding set to 0

Remember that if your 9-patch PNG has a bottom and right marker for padding, you must set the padding to 0 in the layout using that 9-patch PNG.

I ran into a few issues today due to that.

Article related to this: http://stackoverflow.com/questions/3904852/android-layout-broken-with-9-patch-background

No comments:

Post a Comment