开发者

creating a CustomView

开发者 https://www.devze.com 2023-04-10 19:24 出处:网络
I am trying to implement this game, and I am confused about how to start. Should I use ImageButtons and implement this game, or should Icreate some custom view?

I am trying to implement this game, and I am confused about how to start.

Should I use ImageButtons and implement this game, or should Icreate some custom view?

I am not asking you the code, but what custom vi开发者_C百科ew I should create. Basically, I need a plan as to how to implement this game.


It looks like line drawing. So extend View, implement onDraw method, and there draw lines to Canvas. If there're other parts to draw, you may possibly use Bitmap to draw these onto the Canvas.

0

精彩评论

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