Problem with 9 patch image as background

后端 未结 4 1659
轮回少年
轮回少年 2021-01-02 09:39

I have a list view structure, with Relative layout that uses alternating background images for odd/even elements. I\'m trying to set the background drawable dynamically by c

4条回答
  •  清歌不尽
    2021-01-02 10:18

    Since nobody answered you for a year now... I had the same issue you need to setpadding of zero (even if you don't need it).

    Good luck.

提交回复
热议问题