9-patch drawable behaving badly, weird artefacts - what is wrong here?

后端 未结 3 1969
青春惊慌失措
青春惊慌失措 2021-01-15 08:32

so Im trying out the 9-patch images. I started out with a PNG-file where I have a semi-transparent square with rounded corners:

3条回答
  •  执笔经年
    2021-01-15 08:56

    Try to do 9-patch markings from all 4 sides. Also make sure you have .9.png file extension (f.i. your_cool_pic.9.png)

    Here is my example enter image description here

提交回复
热议问题