안드로이드 스튜디오 18일차


안드로이드 스튜디오 18일차

손가락 위치에 따른 이미지 이동 public class MyView extends View { private static final String TAG ="MyView"; float curX1; float curY1; float curX2; float curY2; float oldX1; float oldY1; float oldX2; float oldY2; float diffx1; float diffy1; Bitmap bitmap; Bitmap mBitmap; Canvas mcanvas; Paint paint; public MyView(Context context) { super(context); init(context); } public MyView(Context context, AttributeSet attrs) { super(context, attrs); init(context); } private void init (Context context){ paint = new Pain...



원문링크 : 안드로이드 스튜디오 18일차