Getting Back in the Game[Android]
<p>I am just getting back into Android programming, and need some help with one of my old projects. Can you tell me what's wrong with this code, or if it's just my computer derping out. It force closes no matter what. More files will be provided if needed.</p>

<pre><code>package org.example.knitcalc;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Calc1 extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.Calc1);

        final TextView textview = (TextView)findViewById(R.id.textview); 
        final EditText op1 = (EditText)findViewById(R.id.Int1);
        final EditText op2 = (EditText)findViewById(R.id.Int2);
        final Button btnAdd = (Button)findViewById(R.id.addBox);

        btnAdd.setOnClickListener(new View.OnClickListener() {
    public void onClick(View v) {
        int a, b;
        a = Integer.parseInt(op1.getText().toString());
        b = Integer.parseInt(op2.getText().toString());
        int sum = a + b;
        textview.setText(String.valueOf(sum));
        }
    });
    }
}
</code></pre>

<p>[EDIT]Here's the .xml file:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="@color/pcalc_back"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    &gt;
&lt;EditText
    android:id="@+id/Int1"
    android:width="110px" 
    android:layout_width="250dp"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:inputType="phone" /&gt;
&lt;EditText
    android:id="@+id/Int2"
    android:width="110px" 
    android:layout_width="250dp"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:inputType="phone" /&gt;
&lt;Button
    android:id="@+id/addBox"
    android:layout_gravity="center_vertical|center_horizontal|center"
    android:layout_height="wrap_content" 
    android:layout_width="200dp"
    android:gravity="center_vertical|center_horizontal"
    android:text="@string/add_label" /&gt;
&lt;TextView 
    android:id="@+id/textview"
    android:layout_gravity="center"
    android:layout_height="wrap_content"
    android:layout_width="79dp"
    android:textSize="20sp" /&gt;
&lt;/LinearLayout&gt;
</code></pre>
