开发者

How to create a resizable cross hatched drawable in Android

开发者 https://www.devze.com 2023-03-05 19:21 出处:网络
I would like to be able to apply a cross ha开发者_JS百科tch as the background of a row in a table. I do not think you can create a cross hatch effect as a 9-patch. Does anyone know another way to get

I would like to be able to apply a cross ha开发者_JS百科tch as the background of a row in a table. I do not think you can create a cross hatch effect as a 9-patch. Does anyone know another way to get this effect?


Create a repeatable tile image of the desired pattern, and repeat it in the background. The code to accomplish this can be found in answers to this question - Android Tile Bitmap

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号