p.setARGB(0xff, 0xff, 0x00, 0xff);
mLinearLayout.addView(lImgView);
setContentView(mLinearLayout);
lImgView.setOnTouchListener(new OnTouchListener() {
// start and end coordinates for a single line
float sx, sy, ex, ey;
public boolean onTouch(View aView, MotionEvent aME) {