Draw a hatched circle in android

孤街浪徒 提交于 2019-12-25 02:24:33

问题


Does anyone know how i can draw programmatically in android something like this (without using opengl)?

Pic


回答1:


You can use shape drawables (circles and lines) to define elements and then combine them in one drawable with Layer List. All this can be defined in XML.



来源:https://stackoverflow.com/questions/7384751/draw-a-hatched-circle-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!