Click listener cannot resolove to type
<p>i'am beginner and i'am trying to make a simple calculator for android but he give me a syntax error</p>

<pre><code>public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    final EditText e  = (EditText)findViewById(R.id.value);
    final EditText e2 = (EditText)findViewById(R.id.value2);

    getMenuInflater().inflate(R.menu.activity_main, menu);
    Toast.makeText(this,"Welcome",Toast.LENGTH_LONG).show();
    Button welcome = (Button)findViewById(R.id.x);
    welcome.setText("push ");
    welcome.setonclickListener(new View.onclickListener() {

        @Override
        public void onclick(View v) {
            int v1 = Integer.parseInt(e.getText().toString());
            int v2 = Integer.parseInt(e2.getText().toString());
            int v3 = v1 + v2 ;
            Toast.makeText(MainActivity.this,"= " + v3, Toast.LENGTH_LONG).show();

             return true;

         }
         });

}
</code></pre>

<p>}</p>

<p><a href="http://imageshack.us/photo/my-images/24/problem00.png/" rel="nofollow">http://imageshack.us/photo/my-images/24/problem00.png/</a></p>
