title: Xamarin Android EditText enter key
body: <p>I started to work with Xamarin Studio a weeks ago, and could not find solution to the next problem:
  created an edittext which will contains serial numbers. I'd like ro run a function after the <kbd>Enter</kbd> was pressed.
  It's working fine, when I press <kbd>Enter</kbd>, the function runs without failure, but I can not modify the content of the edittext (I can't type into it).</p>
  
  <p>The code:</p>
  
  <pre><code>EditText edittext_vonalkod = FindViewById&lt;EditText&gt;(Resource.Id.editText_vonalkod);
  edittext_vonalkod.KeyPress += (object sender, View.KeyEventArgs e) =&gt;
  {
      if ((e.Event.Action == KeyEventActions.Down) &amp;&amp; (e.KeyCode == Keycode.Enter))
      {
          //Here is the function
      }
  };
  </code></pre>
  
  <p>This is the code of the control:</p>
  
  <pre><code>&lt;EditText
      p1:layout_width="wrap_content"
      p1:layout_height="wrap_content"
      p1:layout_below="@+id/editText_dolgozo_neve"
      p1:id="@+id/editText_vonalkod"
      p1:layout_alignLeft="@+id/editText_dolgozo_neve"
      p1:hint="Vonalkód"
      p1:text="1032080293"
      p1:layout_toLeftOf="@+id/editText_allapot" /&gt;
  </code></pre>
  
  <p>I tried to use <code>edittext_vonalkod.TextCanged</code> with its arguments, the problem reserved. I can modify the content but can not handle <kbd>Enter</kbd> key.</p>
  
  <p>Thanks!</p>