Increasing or Decreasing EditText value by 2 depending on which button is clicked, ANDROID
I've found alot of answers to do close things, but nothing has what I am looking for.  Been searching for an answer for several days.

I have a single TextEdit field named textEdit1.  

I also have a button on each side of it, button1 and button10.

The initial value of the TextEdit field is 0 (set by a string I might add in case that makes a difference)

If I click button1, I need that value to decrease by 2.  If I click button10 I need that value to increase by 2.

This is a type of scoring application where - points are better then + points.  So I need ot be able to have this do negative values.

This is for Android, and it has ot be backwards comaptible so I'm building it on API 3.  I need it to be able to run on 1.5.



The following is my XML Code.
        <Button
            android:id="@+id/button1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/buttonYes" />



        <EditText
            android:id="@+id/editText1"
            android:layout_width="50dp"
            android:layout_height="wrap_content"
            android:ems="10"
            android:inputType="number"
            android:text="@string/valueInitial" >

            <requestFocus />
        </EditText>


        <Button
            android:id="@+id/button10"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/buttonNo" />

Essentially, if the person in question has made progress you hit the "yes" button which is button1 and it subracts 2 points.  If they did not make progress, or the yes button was accidently pressed, you hit the "no" button which is buttong10, and it adds to points.

There are several sequential buttons like this with different point values for different situations.  Once it's all done, you hit a scoring button at the bottom and it does the math of all the EditText fields, and displays the final score.
Increasing or Decreasing EditText value by 2 depending on which button is clicked, ANDROID
===

I've found alot of answers to do close things, but nothing has what I am looking for.  Been searching for an answer for several days.

I have a single TextEdit field named textEdit1.  

I also have a button on each side of it, button1 and button10.

The initial value of the TextEdit field is 0 (set by a string I might add in case that makes a difference)

If I click button1, I need that value to decrease by 2.  If I click button10 I need that value to increase by 2.

This is a type of scoring application where - points are better then + points.  So I need ot be able to have this do negative values.

This is for Android, and it has ot be backwards comaptible so I'm building it on API 3.  I need it to be able to run on 1.5.



The following is my XML Code.
        <Button
            android:id="@+id/button1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/buttonYes" />



        <EditText
            android:id="@+id/editText1"
            android:layout_width="50dp"
            android:layout_height="wrap_content"
            android:ems="10"
            android:inputType="number"
            android:text="@string/valueInitial" >

            <requestFocus />
        </EditText>


        <Button
            android:id="@+id/button10"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/buttonNo" />

Essentially, if the person in question has made progress you hit the "yes" button which is button1 and it subracts 2 points.  If they did not make progress, or the yes button was accidently pressed, you hit the "no" button which is buttong10, and it adds to points.

There are several sequential buttons like this with different point values for different situations.  Once it's all done, you hit a scoring button at the bottom and it does the math of all the EditText fields, and displays the final score.