А кто подскажет по SurfaceView (Поверхность для рисования)?
Вот собрал простую схему:
Add(MainActivity,2953706,322,154)
{
Width=279
}
Add(SurfaceView,4236152,462,154)
{
Left=15
Top=75
Width=230
Height=262
Color=65535
Point(doDrawOnCanvas)
link(onDraw,3986544:doCreate,[])
}
Add(Button,3839248,371,154)
{
Left=70
Top=35
Point(onClick)
link(onClick,4236152:doDraw,[])
}
Add(RectF,3986544,504,154)
{
Left=120
Top=120
Right=240
Bottom=240
link(onCreate,14304834:doCreatePaint,[])
}
Add(Paint,14304834,553,154)
{
PaintDefaultColor=255
Width=3
TextSize=1
link(onCreatePaint,11950112:doDraw,[])
}
Add(DrawOval,11950112,616,154)
{
link(Canvas,4236152:Canvas,[(622,145)(603,145)(603,211)(475,211)])
link(Paint,14304834:Paint,[(629,138)(594,138)(594,198)(559,198)])
link(RectF,3986544:RectF,[(636,131)(544,131)(544,204)(510,204)])
}
Add(Button,1680118,371,189)
{
Left=70
Top=10
Point(onClick)
link(onClick,4236152:doDrawOnCanvas,[(436,195)(436,167)])
}