9-patch image error in Android

前端 未结 14 1057
野性不改
野性不改 2020-12-04 12:53

Whenever I try to add a 9-patch image to the \\drawable folder in my project, I get the same error:

ERROR: 9-patch image C:\\...\\res\\drawable\         


        
14条回答
  •  粉色の甜心
    2020-12-04 13:37

    Your 9-patch can be wrong.

    Maybe you strip 9-patches one-pixel borders away and information gained from them is not available. Try to add a bottom line and a right line for text too. I think it will help to solve your problem.

提交回复
热议问题