my 9 Patch Image stopped working

后端 未结 2 1428
生来不讨喜
生来不讨喜 2021-01-19 00:46

I have been using 9 patch images for a while now. But have come to an issue. The GUI designer in Eclipse tells me that the image works fine. And it looks how it should.

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-19 01:01

    This is definitely an issue with the latest SDK. Instructions on how to resolve this can be found here:

    http://codetrips.blogspot.com/2010/12/android-draw-9-patch-seems-broken-too.html

    Basically you just need to add a missing jar file into the [sdk-install-dir]/tools/lib folder.

提交回复
热议问题