Take care when creating a 9-patch that the marks you use around the edges
are at least two pixels wide. If you don't, when it is scaled down they
can disappear.
Another thing to watch out for is that the graphics associated with your
stretchable marks have one safe pixel before or after the
Not to hammer the point to much, but the images in that linked
stackoverflow question should show that the issue is not specifically
related to scaling the drawable. My issue is that there seems to be an
issue with the relative layout handling the padding defined in shape.
If I create a shape
I am seeing some weird behavior on the Nexus 7 tablet when i set a centered
relativelayout to have a background image with padding.
http://stackoverflow.com/questions/11656534/padding-issue-on-nexus-7-tablet
I thought an SO question might help illustrate better. The gist is that my
small
3 matches
Mail list logo