In fact, this is not a problem. It is a mistake when I wrote it. When initializing the custom View, I did not use findViewById(), but used the method of new View object.
When customizing View, the onDraw() method is not called
Guess you like
Origin blog.csdn.net/HJ_CQ/article/details/102631260
Recommended
Ranking