title: Android-How to draw a changeable line with specific parameters?
body: <p>Hi I'm doing a practice project which could draw a line with the coordinates I put. The screen only have to textfields and one button. For example if I put "20" and "30" in those two textfields and click  the "draw" button, I want the app to draw a line from (0,0) to (20,30) in ANOTHER VIEW. </p>
  
  <p>I already know how to use "onDraw()" to draw a line but I dont know hot to pass those two parameters into the onDraw() function. Plus, should I create a new view every time I click the draw button or just change the onDraw() function in one view?</p>
  
  <p>Thanks!!!!!!!</p>