Can't type anything on textbox
<p>My xml file</p>

<pre><code>&lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="1"&gt;

&lt;TableRow&gt; 
 &lt;TextView 
 android:text="@string/user_name:" 
 android:id="@+id/TextView01" 
 android:layout_width="wrap_content" 
 android:layout_height="wrap_content"&gt;
 &lt;/TextView&gt;

 &lt;EditText
     android:id="@+id/txtUname"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:inputType="text|textMultiLine" /&gt;

&lt;/TableRow&gt;


&lt;TableRow&gt;
 &lt;TextView 
 android:text="@string/password:" 
 android:id="@+id/TextView02" 
 android:layout_width="wrap_content" 
 android:layout_height="wrap_content"&gt;
 &lt;/TextView&gt;

 &lt;EditText
     android:id="@+id/txtPwd"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:inputType="text|textMultiLine" /&gt;

&lt;/TableRow&gt;


&lt;TableRow&gt;
 &lt;Button
 android:text="@string/cancel" 
 android:id="@+id/btnCancel" 
 android:layout_width="fill_parent" 
 android:layout_height="wrap_content"&gt;
 &lt;/Button&gt;


 &lt;Button
 android:text="@string/login" 
 android:id="@+id/btnLogin" 
 android:layout_width="fill_parent" 
 android:layout_height="wrap_content"&gt;
 &lt;/Button&gt;


&lt;/TableRow&gt;


&lt;/TableLayout&gt;
</code></pre>

<p>My code:</p>

<pre><code>package com.example.hi;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;


public class SampleLogin extends Activity {

 EditText txtUserName;
 EditText txtPassword;
 Button btnLogin;
 Button btnCancel;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        txtUserName=(EditText)this.findViewById(R.id.txtUname);
        txtPassword=(EditText)this.findViewById(R.id.txtPwd);
        btnLogin=(Button)this.findViewById(R.id.btnLogin);
        btnLogin.setOnClickListener(new OnClickListener() {

   @Override
   public void onClick(View v) {
    // TODO Auto-generated method stub

    if((txtUserName.getText().toString()).equalsIgnoreCase(txtPassword.getText().toString())){
           Toast.makeText(SampleLogin.this, "Login Successful",Toast.LENGTH_LONG).show();
          } else{
           Toast.makeText(SampleLogin.this, "Invalid Login",Toast.LENGTH_LONG).show();
          }

   }
  });       
    }
} 
</code></pre>

<p>The problem is I can't write anything on the textbox!!! not even numbers nothing, I run the app it opens but when I type I can't see anything actually being written on the 2 text boxes, thanks!</p>
