title: Mono Droid onClick event not found
body: <p>I have the following layout:</p>
  
  <pre><code>&lt;Button android:id="@+id/MyButton"
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" 
      android:text="@string/Hello"
      android:clickable="true"
      android:onClick="Foo"
  /&gt;
  </code></pre>
  
  <p>And this in my Activity:</p>
  
  <pre><code>[Activity(Label = "LayoutTest", MainLauncher = true, Icon = "@drawable/icon")]
  public class Activity1 : Activity
  {
      protected override void OnCreate(Bundle bundle)
      {
          base.OnCreate(bundle);
  
          SetContentView(Resource.Layout.Main);
      }
  
      public void Foo(View v)
      {
          Toast.MakeText(v.Context, "Bar", ToastLength.Long).Show();
      }
  }
  </code></pre>
  
  <p>When I debug this in the emulator the app crashes when I click MyButton with the following excerpt in the log:</p>
  
  <pre><code>E/AndroidRuntime(  507): FATAL EXCEPTION: main
  E/AndroidRuntime(  507): java.lang.IllegalStateException: Could not find a method    Foo(View) in the activity class helloworld.Activity1 for onClick handler on view class android.widget.Button with id 'MyButton'
  E/AndroidRuntime(  507):    at android.view.View$1.onClick(View.java:2059)
  E/AndroidRuntime(  507):    at android.view.View.performClick(View.java:2408)
  E/AndroidRuntime(  507):    at android.view.View$PerformClick.run(View.java:8816)
  E/AndroidRuntime(  507):    at android.os.Handler.handleCallback(Handler.java:587)
  E/AndroidRuntime(  507):    at android.os.Handler.dispatchMessage(Handler.java:92)
  </code></pre>