-1

I want to make an Image editing app.For now I am able to drag,rotate and zoom View which is placed on an Image to be edited.Now I want to implement draw line as user want just like Pencil on that Image.I have googled a lot but still not get what I want.Please help me if anyone have idea about it.Thanks in advance. I am using this code to Rotate,Zoom and Drag to image:link

AndiM
  • 2,196
  • 2
  • 21
  • 38
  • check this tutorial: [Android Gestures - Tutorial](http://www.vogella.com/articles/AndroidGestures/article.html) – Paresh Mayani Apr 05 '13 at 07:01
  • duplicate http://stackoverflow.com/questions/6178896/how-to-draw-a-line-in-imageview-on-android Also the title is misleading – asloob Apr 05 '13 at 07:02

1 Answers1

0

you have implemented almost every thing Now you need to listen to the touch events for draw and draw lines according to the touches in your canvas

using this for straight lines

and this for any shaped lines

For smooth lines and further help refer this

Arun C
  • 9,035
  • 2
  • 28
  • 42