how does a 9patch png work in android apps

后端 未结 3 1573
渐次进展
渐次进展 2020-12-06 12:19

In a 9patch png, there are black edges in its four sides, but there is usually difference between the left to right, and the up to down side. Why? How does this difference i

3条回答
  •  不知归路
    2020-12-06 12:49

    One of simplest ans is this pic

    draw the black line according to your requirement using nine patch tools.

    You can find more information about how nine patch works here

提交回复
热议问题