android Programming Glossary: colorballs
How to make view resizable on touch event http://stackoverflow.com/questions/10188478/how-to-make-view-resizable-on-touch-event View Point point1 point2 point3 point4 private ColorBall colorballs new ColorBall 4 array that holds the balls private int balID.. 50 point4.y 120 declare each ball with the ColorBall class colorballs 0 new ColorBall context R.drawable.bol_blauw point1 colorballs.. 0 new ColorBall context R.drawable.bol_blauw point1 colorballs 1 new ColorBall context R.drawable.bol_blauw point2 colorballs..
How to make view resizable on touch event http://stackoverflow.com/questions/10188478/how-to-make-view-resizable-on-touch-event import android.widget.ImageView public class DrawView extends View Point point1 point2 point3 point4 private ColorBall colorballs new ColorBall 4 array that holds the balls private int balID 0 variable to know what ball is being dragged Paint paint Canvas.. Point point3.x 150 point3.y 120 point4 new Point point4.x 50 point4.y 120 declare each ball with the ColorBall class colorballs 0 new ColorBall context R.drawable.bol_blauw point1 colorballs 1 new ColorBall context R.drawable.bol_blauw point2 colorballs.. point4.y 120 declare each ball with the ColorBall class colorballs 0 new ColorBall context R.drawable.bol_blauw point1 colorballs 1 new ColorBall context R.drawable.bol_blauw point2 colorballs 2 new ColorBall context R.drawable.bol_groen point3 colorballs..
|