title: need help programming math between editText
body: <p>I need help understanding how to accomplish math between different EditText views. I am not asking someone to write me the code but maybe explain what is involved to get this done. </p>
  
  <p>I wanted to post a picture of this but as a new user I can not. Basicly I have a EditText for the following: Width, Length, Eave Height, Pitch.</p>
  
  <p>I have ID's for all the TextViews I just dont know how to program the behind the scenes math involved to make them work. I do have the equations needed to perform the math just not sure where and how to put them in java.</p>
  
  <p>Basicly I need the user to enter a number in each of the top 4 boxes. I need to use an equation to generate the answer that will be displayed in the "SQFT" box. The user will also input a number in a cost box which will generat a "Total" that needs to be displayed in a separate TextView.</p>
  
  <p>Any help would be appreciated, even if it is to point me in a direction of a tutorial to get me started. Thanks for your help.</p>
  
  <p>Just to show what type of math I need to use, below is the equation I use for excel to calulate.</p>
  
  <pre><code>(length+width)*(Eave+1)*2 + (((width/2)/12*Pitch)*(width/2)*2)
  </code></pre>