The implementation result is as follows:
The materials are as follows: Stars and numbers
Requirement: the stars and numbers both need to be drawn and displayed based on the parameters. That is to say, the stars need to be drawn based on the input parameters to determine the number of yellow and gray colors, the time is displayed based on the input parameters and then the corresponding time is drawn. In fact, this effect is like a dialog box that pops up after the victory of an angry bird completes.
I searched a lot of articles about custom dialog on the Internet over the past two days. I think I have found a valid custom UI article. These two examples are all used. You copied them, I moved in .... I am really speechless. I don't know whether I have enough understanding skills or whether there are not many people who really grasp the custom UI,
I was not able to solve the problem because of my post yesterday. I hope you can help me out. I am very grateful to you.
Supplement: I have already solved this problem, but I have not seen a perfect result from my friend's reply (reason: I can only close the post to the best person ), if you paste this question to some friends, will you be able to get the abuse of the problem later? So I will not close it. When I see an answer that can actually solve this problem, close the post now!
-
Star.png(6.46 kb, downloads: 0)
-
Number.png(11.4 kb, downloads: 0)
The following is a demo that implements this effect and will be shared with you:
: Http://download.csdn.net/source/3541972