android - Why are the 9 patch not working at all in my app? -
i trying use 9 patch pictures in app.
the image quite clear , work pretty in graphic tool provided sdk:
picture this:

and tool seems work fine:

unfortunately, such simple layout, rendering bad on device , 9 patch not work @ all:
<textview android:id="@+id/platenumber" android:background="@drawable/plate_fr" android:layout_width="320dip" android:layout_height="wrap_content" /> any idea on doing wrong?

edit:
my picture named *.9.png

the black lines have totally black(rgb:#000000) , transparent zone around black lines totally transparent.
Comments
Post a Comment